Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef myoptions_h
- #define myoptions_h
- /* Konfiguration für CYD (cheap yellow display) ESP2432S028R * /
- /* !!! Do not be alarmed, all right, the default values are not included in this file !!! */
- #define DSP_MODEL DSP_ILI9341
- #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
- /* fuer internen Lautsprecherausgang */
- #define I2S_DOUT 22
- #define I2S_BCLK 16
- #define I2S_LRC 4
- /* fuer externes I2S Modul
- #define I2S_DOUT 25
- #define I2S_BCLK 27
- #define I2S_LRC 26
- */
- #define TS_MODEL TS_MODEL_XPT2046
- #define TS_SPIPINS 25, 39, 32 /* SCK, MISO, MOSI */
- #define TS_CS 33
- //#define IR_PIN 27
- #define LIGHT_SENSOR 34
- #define AUTOBACKLIGHT_MAX 1024
- /* SDCARD */
- /* MISO is the same as D0, MOSI is the same as D1 */
- /* SD VSPI PINS. SD SCK must be connected to pin 18
- SD MISO must be connected to pin 19
- SD MOSI must be connected to pin 23 */
- /* SD VSPI PINS. */
- #define SD_SPIPINS 18, 19, 23 /* SCK, MISO, MOSI */
- #define SDC_CS 5 /* SDCARD CS pin */
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement