This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <IRremote.h> | |
IRsend irsend; | |
#define onOffReceived 10 | |
#define energyRcv 11 | |
#define avMode 12 | |
#define input 13 | |
#define tvRad 14 | |
#define list 15 | |
#define quickView 16 | |
#define volumeUp 17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on-off->20DF10EF | |
energy->20DFA956 | |
av. mode->20DF0CF3 | |
input->20DFD02F | |
tv/rad->20DF0FF0 | |
1->20DF8877 | |
2->20DF48B7 | |
3->20DFC837 | |
4->20DF28D7 | |
5->20DFA857 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int ledPin=38, ledPin1=39,ledsONOFF=0, baudRate=9600; | |
//blue led on=1, off=0 | |
//red led on=3, off=2 | |
void setup(){ | |
pinMode(ledPin,OUTPUT); | |
pinMode(ledPin1,OUTPUT); | |
Serial.begin(baudRate); | |
} | |
void loop(){ |