In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bennettdan wrote: Whould this work for the Pulsin command to read RPM? Pwidth1 VAR Word Pwidth0 VAR Word Temp VAR Word RPM VAR Word Do PULSIN RA.0, 1, Pwidth1 PULSIN RA.0, 0, Pwidth0 Temp = Pwidth1 + Pwidth0 RPM = 6_000_000 / Temp Loop ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=199012#m199105 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)