Hello,
I'm looking for an example to read digital input using GPIO. Can anyone suggest me a good example to do this?
Regards,
Sunil
Hello,
I'm looking for an example to read digital input using GPIO. Can anyone suggest me a good example to do this?
Regards,
Sunil
Reading a pin is as simple as reading the GPIO->IN register (use methods in nrf_gpio.h). If you need events to be generated on rising/falling edges you can look into the GPIOTE examples.
Reading a pin is as simple as reading the GPIO->IN register (use methods in nrf_gpio.h). If you need events to be generated on rising/falling edges you can look into the GPIOTE examples.
Hi Bastien,
Thanks for replying to my question. I'll take a look at the GPIOTE examples.
Regards,
Sunil