This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Disable interrupts

Hi, I want to do this cycle with GPIO without interrupting it on NRF51 with BLE softdevice:

  1. PIN1 to HIGH level
  2. read value of PIN2
  3. PIN1 to LOW level

Repeat this 25 times (between cycles interrupts can happen)

What is the easiest way to accomplish that?

Related