try microchips appnotes: http://www.microchip.com/10/Appnote/Category/12CXXX/Remote/6_004/index .htm for example, good explanation of how coding works. There are several other appnotes, for example, an657. alice > Hi, > > I am after a picbasic or asm file to capture multipull IR codes on a 16f877. > I would like to the retransmit the codes when triggered by RS232 command. > The RS232 bit is easy I just need some code to capture IR code from > different brand remotes. These code would need to be stored in EEprom. > > If anyone has some code they can share that may be any help could the please > email it to me. > > Mathew Cohen > > mathew@everythingit.net >