Hello,
I am creating an application that counts the number of times the button is pressed (Every high to low transition).
I am using GPIOTE to sense the high-to-low events. I have used PPI to connect the GPIOTE event to trigger the COUNT and CAPTURE task of the Timer/Counter.
If Button_0 is pressed, the system increments the counter. If Button_1, it clears the timer.
However, I have the following output:
I am wondering why the counter starts counting at Zero.
Please see the attached blinky.rar
Project Path: blinky\pca10040\blank\ses\blinky_pca10040.
Thank you!