In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Okay, KEELOQ, you're going to have to do a bit more reading. The SIRCS protocol is documented all over the Internet -- go do a Google search and read up on it; that's what I did to write that demo for you. If you happen to have Parallax's "IR Remote for the Boe-Bot" it's explained in there as well, though that book deals with decoding so you'll need additional information on encoding. What you'll want to look for, specifically, is information on Sony's 12-bit protocol; the lower seven bits are called the command code, the upper five bits are called the device code; you have to load a word with the appropriate bits before transmitting. The receiver code you cited (which I also wrote when I worked for Parallax) expects to receive 12 bits and splits them into the LSB and MSB of the return value. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194489#m194685 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)