Advertisement
Demigodz191

myoptions.h

Jan 16th, 2025 (edited)
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 0.84 KB | Source Code | 0 0
  1. // ёRadio on Github: https://github.com/e2002/yoradio
  2.  
  3. #ifndef myoptions_h
  4. #define myoptions_h
  5.  
  6. #define DSP_MODEL           DSP_ILI9341
  7. //#define DSP_MODEL           DSP_ST7789
  8. #define DSP_HSPI            true
  9. #define LED_INVERT          true
  10. #define TFT_CS              15
  11. #define TFT_DC              2
  12. #define TFT_RST             -1
  13. #define LED_BUILTIN         17
  14. #define BRIGHTNESS_PIN      21
  15. #define I2S_INTERNAL      false
  16. #define PLAYER_FORCE_MONO true
  17. // If I2S DAC used:
  18. #define I2S_DOUT      17
  19. #define I2S_BCLK      22
  20. #define I2S_LRC       27
  21. //#define VS1053_CS           255
  22. #define TS_MODEL            TS_MODEL_XPT2046
  23. #define TS_SPIPINS          25, 39, 32    /* SCK, MISO, MOSI */
  24. #define TS_CS               33
  25. //#define IR_PIN              21
  26. #define LIGHT_SENSOR        34
  27. #define AUTOBACKLIGHT_MAX   1024
  28.  
  29. #endif
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement