Skip to content

Commit 18d260e

Browse files
tobozome-no-dev
authored andcommitted
Fix for TFT_eSPI and Adafruit libs (#1837)
see #1800
1 parent 3a8ac27 commit 18d260e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: variants/d32_pro/pins_arduino.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ static const uint8_t LED_BUILTIN = 5;
99
static const uint8_t _VBAT = 35; // battery voltage
1010

1111

12-
static const uint8_t TF_CS = 4; // TF (Micro SD Card) CS pin
13-
static const uint8_t TS_CS = 12; // Touch Screen CS pin
14-
static const uint8_t TFT_CS = 14; // TFT CS pin
15-
static const uint8_t TFT_LED = 32; // TFT backlight control pin
16-
static const uint8_t TFT_RST = 33; // TFT reset pin
17-
static const uint8_t TFT_DC = 27; // TFT DC pin
12+
#define TF_CS 4 // TF (Micro SD Card) CS pin
13+
#define TS_CS 12 // Touch Screen CS pin
14+
#define TFT_CS 14 // TFT CS pin
15+
#define TFT_LED 32 // TFT backlight control pin
16+
#define TFT_RST 33 // TFT reset pin
17+
#define TFT_DC 27 // TFT DC pin
1818

1919
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)