In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jimbo wrote: JonnyMac, I tried your code and it works fine! It looks like you are not using pulsin and pulsout to have better control of the sensor? Probably generates less machine code too! Thanks for all your help. Best, Jim W. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188113#m188591 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)