In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You should check your modulation frequency versus the detector you're using -- if it's close, but not right on then the detection distance will fall off considerably. You might try 38500 and 40000 in the code above to see if that gives better results. Of course, the ideal thing to do is look up the datasheet for your detector to see what the actual demodulation frequency is. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=283893#m283895 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)