This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

gpiote for quadrature counter

Hi,

I want to connect a rotary encoder. So I have 2 pins of the nrf51822 connected to the encoder and I have to check which one change first to increase or decrease the position. The gpiote callback doesn't work for me because it may be called once with the 2 events. Can I change the behaviour so that it is called on every changes ?

Thanks, Benoit

Related