diff --git a/src/boards/arduino_nano_33_ble/board.h b/src/boards/arduino_nano_33_ble/board.h index f62b7f3e..2163cb32 100644 --- a/src/boards/arduino_nano_33_ble/board.h +++ b/src/boards/arduino_nano_33_ble/board.h @@ -30,14 +30,19 @@ /*------------------------------------------------------------------*/ /* LED *------------------------------------------------------------------*/ -#define LEDS_NUMBER 1 // red LED -#define LED_PRIMARY_PIN _PINNUM(0, 24) -#define LED_STATE_ON 0 +#define LEDS_NUMBER 1 // "power" LED +#define LED_PRIMARY_PIN _PINNUM(1, 9) +#define LED_STATE_ON 1 +// P0.13 is the "D13" LED, active high, if we want to use it too. + +#define LED_RGB_RED_PIN _PINNUM(0, 24) +#define LED_RGB_GREEN_PIN _PINNUM(0, 16) +#define LED_RGB_BLUE_PIN _PINNUM(0, 6) /*------------------------------------------------------------------*/ /* BUTTON *------------------------------------------------------------------*/ -#define BUTTONS_NUMBER 2 +#define BUTTONS_NUMBER 2 // None populated... #define BUTTON_1 _PINNUM(1, 11) // D2 switch #define BUTTON_2 _PINNUM(1, 12) // D3 switch #define BUTTON_PULL NRF_GPIO_PIN_PULLUP @@ -68,4 +73,4 @@ #define UF2_BOARD_ID "nRF52840-Nano-33" #define UF2_INDEX_URL "https://www.arduino.cc/" -#endif // _ITSY_NRF52840_H +#endif // _ARDUINOBLE33_NRF52840_H