Skip to content

Commit 7c28de0

Browse files
Riksu9000JF002
authored andcommitted
Set pin before loop
1 parent 10f610b commit 7c28de0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ int main(void) {
308308
NRF_GPIO_PIN_NOPULL,
309309
NRF_GPIO_PIN_S0D1,
310310
NRF_GPIO_PIN_NOSENSE);
311+
nrf_gpio_pin_set(pinTwiScl);
311312
for (uint8_t i = 0; i < 16; i++) {
312313
nrf_gpio_pin_toggle(pinTwiScl);
313314
nrf_delay_us(5);

0 commit comments

Comments
 (0)