Hello all,
I am using nRF51822 BLE SDK 9.00 PCA10028. I want to configure the gpio pins as input to sense the voltage as high or low. how to configure it please suggest me.
Best Regards, Rawootray Patil.
Hello all,
I am using nRF51822 BLE SDK 9.00 PCA10028. I want to configure the gpio pins as input to sense the voltage as high or low. how to configure it please suggest me.
Best Regards, Rawootray Patil.
Hi Rawootray,
You can use the GPIO abstraction API to configure the GPIO to sense level changes. If you want to generate interrupt on level changes, you need to look into the GPIOTE peripheral. The pin change interrupt example is a great place to start.
Best regards,
Jørgen