In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Matthias09 wrote: Zoot, find the program attached. I've commended some thing out, that are about to return once I finished testing the program. Thanks for the info about the cycles! I have made tests like you said, fixed the object in one position and took measurements. it's bascially always like. two types of results: one is right distance, the other significanlty lower, they change randomly with the right results coming more often: Position one: 83, 82, 79, 33, 82, 34, 83, 82 (right: 80, wrong 30) Position two: 50, 50, 20, 47, 50, 20, 50, 49, 20 (right: 50, wrong 20) Matthias ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=394074#m401259 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)