Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Arduino Nano 33 ble #97

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/boards/arduino_nano_33_ble/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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