Hi!
If you use INT0 you will lose encoder counts.
See my Incremental quadrature encoder direction drawing.
(File encoder.zip posted the 9th April 2005, 13:44).
The two encoder signals A/B have to be connected to two of
the PINs RB<7:4> which have an interrupt-onchange feature.
* * *
When I post a code sample, the code is well formatted and
there are no dead commented statements.(I do my best).
Do you think that people on this forum will spend time
reading your code if it is not formatted?
* * *
See thread LCDOUT & interrupts.
http://www.picbasic.co.uk/forum/show...dout+interrupt
* * *
Luciano
Bookmarks