/* * Remote Test for Toshiba DVD player * by Joe Foley * Codes from http://lirc.sourceforge.net/remotes/toshiba/SE-R0313 * IRRemote library at http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html * A random text file says that Toshiba uses the NEC protocol */ #include #define ToshibaAddress 0xA25D // Panasonic address (Pre data) #define TobshibaPower 0x48B7 // Panasonic Power button IRsend irsend; void setup() { Serial.begin(115200); Serial.println("IRremote test for Toshiba SD560EKE"); } void loop() { irsend.sendNEC(ToshibaAddress,ToshibaPower); // This should turn your TV on and off delayMicroseconds(500); }