In SX Microcontrollers, SX/B Compiler and SX-Key Tool, davehein wrote: Larry, Even though the camera uses 38KHz or 32KHz on the IR signal it may be able to tolerate a wide frequency range. The bandpass filters on IR receivers usually aren't very tight. So the problem may be more in the disruption of the timing of the serial data by the interrupt. Try minimizing the number of cycles in your interupt service routine and the IR timing may be OK with that. If you currently send the heartbeat in your ISR, just set a flag instead and poll it outside of the ISR to determine when to send it. If that doesn't work then you can disable interrupts by setting bit 6 in the OPTION register to 1. Set it back to 0 after you are done sending the IR command. Dave ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=395997#m396596 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)