10 years, 11 months ago.

Using interupts

Thanks for looking at my post. I am trying to write a program to read the inputs from a quadrature encoder from scratch without using libraries. I am stuck at using the interrupt function to trigger a rising edge on A and keep store the state while the program is looking at the state of B. I have gone through the interrupt.h file in the mbed.h library, unfortunately I'm a noob at mbed and I can't make too much sense of it and the forum is not coughing up much.

Thanks for your help

But what is your question?

And at least have a look at the InterruptIn handbook page (http://mbed.org/handbook/InterruptIn), and one of the quadrature encoder programs as example.

posted by Erik - 15 Dec 2013
Be the first to answer this question.