Drivers and protocols for communicating with remote controlled sockets
Example for the RCSwitch Library. In receive mode, this will receive messages from the remote and decide which protocol has been used for transmission. In transmit mode, this will cycle through different formats for sending codewords.
This has been ported from the Arduino RCSwitch library, Project home: http://code.google.com/p/rc-switch/