feat: Add pin aliases for RGB LED pins to ensure portability. (#9089)
This commit is contained in:
parent
14a49c9265
commit
a114af068b
1 changed files with 6 additions and 0 deletions
|
|
@ -76,6 +76,12 @@ static constexpr uint8_t A7 = 14;
|
|||
|
||||
#endif
|
||||
|
||||
// Aliases
|
||||
|
||||
static constexpr uint8_t LEDR = LED_RED;
|
||||
static constexpr uint8_t LEDG = LED_GREEN;
|
||||
static constexpr uint8_t LEDB = LED_BLUE;
|
||||
|
||||
// alternate pin functions
|
||||
|
||||
static constexpr uint8_t LED_BUILTIN = D13;
|
||||
|
|
|
|||
Loading…
Reference in a new issue