NRF52840 Eval Kit User Manual
Vision: V1.0.1 Date: 2019.01.19
38
/
72
HARDWARE
In hardware, the I2C interface are pinout to the Arduino compatible header.
I2C
GPIO
SCL_PIN
P0.27
SDA_PIN
P0.26
The I2C pins can be re-configured to others by modifying the codes:
#define SDA_PIN NRF_GPIO_PIN_MAP(0,26)
#define SCL_PIN NRF_GPIO_PIN_MAP(0,27)
【
Note
】
Don
’
t forget to change hardware connection if you re-configure the pins.
After running codes, the data will be printed to serial port and display the I2C address
in OLED as below: