Skip to content

Commit 8a4e4c7

Browse files
committed
BBCmicrobitV2: add LED_BUILTIN define
1 parent 2d2a8b9 commit 8a4e4c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

variants/BBCmicrobitV2/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ extern "C"
1919
#define NUM_ANALOG_INPUTS (7)
2020
#define NUM_ANALOG_OUTPUTS (0)
2121

22+
// LEDs
23+
24+
#define PIN_LED (13)
25+
#define LED_BUILTIN PIN_LED
26+
2227
// Buttons
2328

2429
#define PIN_BUTTON_A (5)

0 commit comments

Comments
 (0)