Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // myoptions.h file for yoRadio with esp32-2432S028 R with dsp7789
- // not tested!
- #ifndef myoptions_h
- #define myoptions_h
- #define DSP_MODEL DSP_ST7789
- #define DSP_HSPI true
- #define LED_INVERT true
- #define TFT_CS 15
- #define TFT_DC 2
- #define TFT_RST -1
- #define LED_BUILTIN 17
- #define BRIGHTNESS_PIN 21
- #define TS_MODEL TS_MODEL_XPT2046
- #define TS_SPIPINS 25, 39, 32 /* SCK, MISO, MOSI */
- #define TS_CS 33
- #define LIGHT_SENSOR 34
- #define AUTOBACKLIGHT_MAX 1024
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement