File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
variants/waveshare_esp32s3_touch_lcd_128 Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ #ifndef Pins_Arduino_h
2+ #define Pins_Arduino_h
3+
4+ #include <stdint.h>
5+
6+ #define USB_VID 0x1A86
7+ #define USB_PID 0x55D3
8+ #define USB_MANUFACTURER "Waveshare"
9+ #define USB_PRODUCT "ESP32-S3 Touch LCD 1.28"
10+ #define USB_SERIAL "" // Empty string for MAC adddress
11+
12+ #define LCD_BACKLIGHT 2
13+ #define LCD_DC 8
14+ #define LCD_RST 14
15+
16+ #define TP_INT 5
17+ #define TP_RST 13
18+
19+ #define IMU_INT1 4
20+ #define IMU_INT2 3
21+
22+ static const uint8_t TX = 43 ;
23+ static const uint8_t RX = 44 ;
24+ #define TX1 TX
25+ #define RX1 RX
26+
27+ static const uint8_t SCL = 7 ;
28+ static const uint8_t SDA = 6 ;
29+
30+ static const uint8_t SS = 9 ;
31+ static const uint8_t MOSI = 11 ;
32+ static const uint8_t MISO = 12 ;
33+ static const uint8_t SCK = 10 ;
34+
35+ static const uint8_t A0 = 1 ; // Connected through voltage divider to battery pin
36+
37+ #endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments