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 a4118ea

Browse filesBrowse 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
Copy full SHA for a4118ea

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+6
-0
lines changed

‎variants/ET-Board/pins_arduino.h

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