8000 Add ET-Board BUILTIN_LED pin (#5490) · DavBfr/arduino-esp32@a4118ea · GitHub
[go: up one dir, main page]

Skip to content

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 a4118ea

Browse files
authored
Add ET-Board BUILTIN_LED pin (espressif#5490)
ET-Board No internal LED pin Missing internal LED pin have been added to this commit.
1 parent c4fcab2 commit a4118ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

variants/ET-Board/pins_arduino.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
1212
#define digitalPinHasPWM(p) (p < 34)
1313

14+
static const uint8_t LED_BUILTIN = 5;
15+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
17+
18+
19+
1420
static const uint8_t TX = 34;
1521
static const uint8_t RX = 35;
1622

0 commit comments

Comments
 (0)
0