diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-09 19:11:35 (GMT) |
|---|---|---|
| committer | JF002 <JF002@users.noreply.github.com> | 2021-08-14 19:00:33 (GMT) |
| commit | 7c28de0b6fa7fa33ff10d09847742a35de26cf2b (patch) | |
| tree | 2ccf9f5f5e185821abaecf1995531cac667ac7b3 | |
| parent | 10f610b2191ed0783a2f36a5e869019fc548aa24 (diff) | |
Set pin before loop
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 39d8906..d301be6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -308,6 +308,7 @@ int main(void) { NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_S0D1, NRF_GPIO_PIN_NOSENSE); + nrf_gpio_pin_set(pinTwiScl); for (uint8_t i = 0; i < 16; i++) { nrf_gpio_pin_toggle(pinTwiScl); nrf_delay_us(5); |
