We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51c3ee commit 10f610bCopy full SHA for 10f610b
1 file changed
src/main.cpp
@@ -302,7 +302,12 @@ int main(void) {
302
nrf_drv_clock_init();
303
304
// Unblock i2c?
305
- nrf_gpio_cfg_output(pinTwiScl);
+ nrf_gpio_cfg(pinTwiScl,
306
+ NRF_GPIO_PIN_DIR_OUTPUT,
307
+ NRF_GPIO_PIN_INPUT_DISCONNECT,
308
+ NRF_GPIO_PIN_NOPULL,
309
+ NRF_GPIO_PIN_S0D1,
310
+ NRF_GPIO_PIN_NOSENSE);
311
for (uint8_t i = 0; i < 16; i++) {
312
nrf_gpio_pin_toggle(pinTwiScl);
313
nrf_delay_us(5);
0 commit comments