Add T3S3 target and different variants of the board

This commit is contained in:
jacob.eva 2024-07-09 09:40:30 +01:00
parent 236ea0b999
commit 35e9f36ffd
No known key found for this signature in database
GPG key ID: 0B92E083BBCCAA1E
6 changed files with 35 additions and 15 deletions

View file

@ -68,7 +68,7 @@ void busyCallback(const void* p) {
#define DISP_RST -1
#define DISP_ADDR 0x3C
#endif
#elif BOARD_MODEL == BOARD_RNODE_NG_22
#elif BOARD_MODEL == BOARD_T3S3
#if DISPLAY == OLED
#define DISP_RST 21
#define DISP_ADDR 0x3C
@ -200,7 +200,7 @@ bool display_init() {
digitalWrite(pin_display_en, LOW);
delay(50);
digitalWrite(pin_display_en, HIGH);
#elif BOARD_MODEL == BOARD_RNODE_NG_22
#elif BOARD_MODEL == BOARD_T3S3
Wire.begin(SDA_OLED, SCL_OLED);
#elif BOARD_MODEL == BOARD_HELTEC32_V2
Wire.begin(SDA_OLED, SCL_OLED);