Skip to content

Commit a114af0

Browse files
authored
feat: Add pin aliases for RGB LED pins to ensure portability. (#9089)
1 parent 14a49c9 commit a114af0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: variants/arduino_nano_nora/pins_arduino.h

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ static constexpr uint8_t A7 = 14;
7676

7777
#endif
7878

79+
// Aliases
80+
81+
static constexpr uint8_t LEDR = LED_RED;
82+
static constexpr uint8_t LEDG = LED_GREEN;
83+
static constexpr uint8_t LEDB = LED_BLUE;
84+
7985
// alternate pin functions
8086

8187
static constexpr uint8_t LED_BUILTIN = D13;

0 commit comments

Comments
 (0)