In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tsaavik wrote: [b]FREQOUT:[/b] Does this command start the pulses and allow the program to continue on, or does it pause until the command is complete? I can't find this information in the sx-key sx/b command help page, is there somewhere else i should be looking? For example if i do: [code] FREQOUT IR_emit_Left, 1, 38000 ' FREQOUT (Pin, Duration in ms 1-255, Freq in hz 1-65335) square wave output COUNT Front_IR_Detect, 1, ir_in [/code] Should i get anything in ir_in? Right now I'm trying this, and its not working. i tried adjusting the duration from 1 to 10 to 255 just in case it was too a transmit for my detector. If i bring in an external 38khz IR emitter (a remote control) and shoot it at the detector it does increment ir_in. I've replaced the IR emitter with a led and it does light. I haven't checked the freq of the output yet, my ghetto-scope isn't setup right now. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=172645 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)