Skip to content

Commit 661827c

Browse files
committed
update to rev C pins
1 parent 2c13fd5 commit 661827c

File tree

1 file changed

+4
-4
lines changed
  • src/boards/circuitplayground_nrf52840

1 file changed

+4
-4
lines changed

src/boards/circuitplayground_nrf52840/board.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
/* BUTTON
4343
*------------------------------------------------------------------*/
4444
#define BUTTONS_NUMBER 2
45-
#define BUTTON_1 _PINNUM(1, 01) // left button
45+
#define BUTTON_1 _PINNUM(1, 02) // left button
4646
#define BUTTON_2 _PINNUM(1, 15) // right button
47-
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
47+
#define BUTTON_PULL NRF_GPIO_PIN_PULLDOWN
4848

4949
/*------------------------------------------------------------------*/
5050
/* UART
5151
*------------------------------------------------------------------*/
52-
#define RX_PIN_NUMBER _PINNUM(0, 29)
52+
#define RX_PIN_NUMBER _PINNUM(0, 30)
5353
#define TX_PIN_NUMBER _PINNUM(0, 14)
5454
#define CTS_PIN_NUMBER 0
5555
#define RTS_PIN_NUMBER 0
@@ -72,4 +72,4 @@
7272
#define UF2_BOARD_ID "nRF52840-CircuitPlayground-revD"
7373
#define UF2_INDEX_URL "https://www.adafruit.com/product/4300"
7474

75-
#endif // _FEATHER_NRF52840_H
75+
#endif // _CPLAY_NRF52840_H

0 commit comments

Comments
 (0)