In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Running the code through the SX-Sim simulator it appears the code is meant for the encoder to be connected to RA.2 an RA.3. Also note that you will get 4 counts per cycle. So you will get 1600 counts per revolution. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=259381#m259465 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)