In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bennettdan wrote: I have looked at the Count instruction and if I wanted to mesure RPM would this work? Hertz VAR Word RPM VAR Word Do Count RB.0, 250, Hertz RPM = Hertz * 240 Loop Or should you sample the input longer say 1000 ms? Would it be accurate at 250 ms sample? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=199012 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)