Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18d260e

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

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎variants/d32_pro/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/d32_pro/pins_arduino.h
+6-6Lines changed: 6 additions & 6 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.