Quote Originally Posted by lerameur View Post
I just want to count the revolution, so even if the trip point is not on the 'dot' it do not matter. What matters here is that I want to be able to calculate the transitions from black to white and white to black. After four transistions I get a revolution .
The problem in my program is that it is not showing anything on the LCD.
Right, but if it's not tripping in the first place, you won't get any counts in the last place...
And the ADC, yes, that's part of it. The other part is 'starting' the ADC itself.