Browse Source

variants: XIAO NRF52: Enable status LED

Fix the active state of the LEDs (active low) and enable the status
LED.

Signed-off-by: Frieder Schrempf <[email protected]>
pull/1122/head
Frieder Schrempf 7 months ago
parent
commit
5235516dc7
No known key found for this signature in database GPG Key ID: E7DD51F45F833802
  1. 3
      variants/xiao_nrf52/variant.h

3
variants/xiao_nrf52/variant.h

@ -34,8 +34,9 @@ extern "C"
#define LED_RED (11)
#define LED_GREEN (13)
#define LED_BLUE (12)
#define PIN_STATUS_LED (LED_BLUE)
#define LED_STATE_ON (1) // State when LED is litted
#define LED_STATE_ON (0) // State when LED is on
// Buttons
#define PIN_BUTTON1 (0)

Loading…
Cancel
Save