Skip to content

Commit 9e1e5d5

Browse files
committed
nano33ble: SPI/I2C pin assignment
1 parent 8850246 commit 9e1e5d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

variants/NRF52840_DK/pins_arduino.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717

1818
#define DFU_MAGIC_SERIAL_ONLY_RESET 0x4e
1919

20+
#define I2C_SDA 31
21+
#define I2C_SCL 2
22+
23+
#define SPI_MISO 40
24+
#define SPI_MOSI 33
25+
#define SPI_SCK 13
26+
2027
static inline void _ontouch1200bps_() {
2128
NRF_POWER->GPREGRET = DFU_MAGIC_SERIAL_ONLY_RESET;
2229
NVIC_SystemReset();

0 commit comments

Comments
 (0)