Advertisement
LeventeDaradici

esp32-2432S028 R with dsp7789

Aug 4th, 2024 (edited)
739
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | Source Code | 0 0
  1. // myoptions.h file for yoRadio with esp32-2432S028 R with dsp7789
  2. // not tested!
  3.  
  4. #ifndef myoptions_h
  5. #define myoptions_h
  6.  
  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.  
  16. #define TS_MODEL            TS_MODEL_XPT2046
  17. #define TS_SPIPINS          25, 39, 32    /* SCK, MISO, MOSI */
  18. #define TS_CS               33
  19.  
  20. #define LIGHT_SENSOR        34
  21. #define AUTOBACKLIGHT_MAX   1024
  22.  
  23. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement