This is the first version of the program that allows the IRPD to receive commands from a universal TV remote control. It has to be set to Sony format. The program is interupt driven and runs in the background. It’s a Beta so lets see what it can do eh?
lynxmotion.com/images/temp/atomrc01.zip
Nathan says…
Here is the first sample code. It’s an interrupt driven irpd/remote handler. I had to change the mode of the remote to a sony format since those are the most widely documented (use 002 instead of 012). The sample will display the address(always the same) and the command (different number depending on the button pressed). You can change the main loop to do something other than display the commands received (ie: tell a bot to move). Note that software serial commands can be corrupted by the interrupt handler so you may see some glitching (I didn’t but you might) when running the sample app.