gabywap

yoradio-myoptionsST7789-NO_DAC

Feb 26th, 2025
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. #ifndef myoptions_h
  2. #define myoptions_h
  3.  
  4. /* Generated by myoptions.h generator - v0.8.1 */
  5. /* https://e2002.github.io/docs/myoptions-generator.html?r=71,45&i=&v= */
  6. /* Put this file next to yoRadio.ino and restart Arduino IDE. */
  7. /* !!! Do not be alarmed, all right, the default values ​​are not included in this file !!! */
  8.  
  9. #define L10N_LANGUAGE RU /* Language (EN, RU). More info in yoRadio/locale/displayL10n_(en|ru).h */
  10. #define RSSI_DIGIT false
  11. //#define PLAYER_FORCE_MONO true // if you use Max98357 I2S 3W Class D Amplifier
  12.  
  13. #define DSP_MODEL DSP_ST7789
  14. #define DSP_HSPI true
  15. #define LED_INVERT true
  16. #define TFT_CS 15
  17. #define TFT_DC 2
  18. #define TFT_RST -1
  19. #define BRIGHTNESS_PIN 21
  20.  
  21. //#define I2S_DOUT 17
  22. //#define I2S_BCLK 22
  23. //#define I2S_LRC 27
  24. #define I2S_INTERNAL true
  25.  
  26. #define TS_MODEL TS_MODEL_XPT2046
  27. #define TS_SPIPINS 25, 39, 32 /* SCK, MISO, MOSI */
  28. #define TS_CS 33
  29.  
  30. #define LIGHT_SENSOR 34
  31. #define AUTOBACKLIGHT_MAX 1024
  32. #define SD_VSPI true
  33. #define SDC_CS 5
  34. #define BOOMBOX_STYLE
  35. //#define LED_BUILTIN 17
  36.  
  37. //#define IR_PIN 23
  38.  
  39. //#define ENC_BTNR 16
  40. //#define ENC_BTNL 35
  41. //#define ENC_BTNB 4
  42. //#define ENC_INTERNALPULLUP true
  43.  
  44.  
  45. #endif
  46.  
Advertisement
Add Comment
Please, Sign In to add comment