diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-09 19:11:35 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-09 19:11:35 (GMT) |
| commit | 5eb56d9a06652cb10358ecba051bbfe8ec2957a7 (patch) | |
| tree | 4b4c3f4e32d4b3f9166b7fd915725e23974b52bf /src/main.cpp | |
| parent | ff81a72533e479388d49334d0ec3e0635b6e7f40 (diff) | |
Set pin before loop
Diffstat (limited to 'src/main.cpp')
| -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); |
