In SX Microcontrollers, SX/B Compiler and SX-Key Tool, crgwbr wrote: Hello Everyone, I'm working on a project that requires the use of a very acurette encoder. We should be using a 12 bit absolute encoder with PWM output, but because of budget cuts, we have to use [url=http://web4.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Light_Duty_Standard_Shaft_(TRD-S_Series)/TRD-S2500-BD]this[/url] one (2500 ppr incrementle encoder). It has an "NPN open collecter output." I have yet to figure out what that means. What I would like to do is, as soon as the unit turns on, assign the ENCODER varible 0. Then every step the encoder takes up, add one too ENCODER; every step down, subtract one. I could most likely figure this out on my own, however, I am concerned about the encoder moving while the program is doing somthing else (read keypad, display stuff on LCD, ect.). At most, the encoder will be moving at 0.5 rpm, but moving almost constantly. How can I avoid this "slipage affect." ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=147629 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)