Skip to content

Commit d88c048

Browse files
Update pins_arduino.h
add GREEN and RED LED pin defines
1 parent 9e899dc commit d88c048

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

variants/xinabox/pins_arduino.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
static const uint8_t LED_BUILTIN = 27;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1616

17+
static const uint8_t LED_GREEN = 26;
18+
#define GREEN_LED LED_GREEN // backward compatibility
19+
20+
static const uint8_t LED_RED = 25;
21+
#define RED_LED LED_RED // backward compatibility
22+
1723
static const uint8_t TX = 1;
1824
static const uint8_t RX = 3;
1925

0 commit comments

Comments
 (0)