In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: 2500 ppr * 30 revolutions per second = 7500 pulses per second. So as long as you sample faster than that, you shouldn't lose any pulses. Or you could use the PortB interrupts and that would be even better. NPN Open collector just means you need a pull-up resistor on the outputs. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=147629#m147641 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)