Add ET-Board BUILTIN_LED pin (#5490)

ET-Board
No internal LED pin
Missing internal LED pin have been added to this commit.
This commit is contained in:
ketri2484 2021-08-11 20:32:37 +09:00 committed by GitHub
parent c4fcab28e4
commit a4118ea889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,12 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34) #define digitalPinHasPWM(p) (p < 34)
static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static const uint8_t TX = 34; static const uint8_t TX = 34;
static const uint8_t RX = 35; static const uint8_t RX = 35;