reorganizing project to more general synchronizer in preparation for export/delivery to RVK museum.
This commit is contained in:
25
synchronizer/tests/IRremote_test/IRremote_test.pde
Normal file
25
synchronizer/tests/IRremote_test/IRremote_test.pde
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Remote Test for Toshiba DVD player
|
||||
* by Joe Foley <foley@mit.edu>
|
||||
* 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 <IRremote.h>
|
||||
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user