updated config for TTGO_T4
This commit is contained in:
BIN
CAD/ESP32 Pins.xlsx
Normal file
BIN
CAD/ESP32 Pins.xlsx
Normal file
Binary file not shown.
16
config.h
16
config.h
@@ -34,12 +34,12 @@
|
||||
#define NUM_RGB_LEDS 0
|
||||
|
||||
/* LCD */
|
||||
#define TFT_DC_PIN 2
|
||||
#define TFT_RST_PIN 4
|
||||
#define TFT_CS_PIN 26
|
||||
#define TFT_SCLK_PIN 18
|
||||
#define TFT_MISO_PIN 19
|
||||
#define TFT_MOSI_PIN 23
|
||||
// #define TFT_DC_PIN 2
|
||||
// #define TFT_RST_PIN 4
|
||||
// #define TFT_CS_PIN 26
|
||||
// #define TFT_SCLK_PIN 18
|
||||
// #define TFT_MISO_PIN 19
|
||||
// #define TFT_MOSI_PIN 23
|
||||
|
||||
/* I2C */
|
||||
#define I2C_SDA_PIN 21
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
/* Particulate Matter Sensor */
|
||||
#define PMS_BAUD_RATE 9600
|
||||
#define PMS_SET_PIN 25
|
||||
#define PMS_SET_PIN 19
|
||||
#define PMS_RESET_PIN 26
|
||||
#define PMS_RX_PIN 27 // Tx to the PMS SHOULD BE 16
|
||||
#define PMS_RX_PIN 4 // Tx to the PMS SHOULD BE 16
|
||||
#define PMS_TX_PIN 14 // Rx from the PMS SHOULD BE 17
|
||||
|
||||
Reference in New Issue
Block a user