In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote: RoboGeek: I can give you lots of answers but as Paul points out, if you don't actually have SX/B and are not actively working with it then it won't be helpful. At any rate, here goes: The max expected pulse back from the Ping is 18.5 ms (Tin-max in the docs) then you could set the resolution value to 10; this would cause the PULSIN function to return a value from 100 uS to 25.5 ms (in 100 uS units). ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91706 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)