Hello,
I decoded my TV remote power signal which is 4C, with the library IRrecv
I am now trying to send the same signal to the TV in order to power it on/off.
My code is using IRsend but nothing happens. Any help please?
#include <IRremote.h>
IRsend irsend;
void setup() {
Serial.begin(9600);
}
void loop() {
irsend.sendNEC(0x4C, 12); //Power Code
Serial.println("Power");
delay(2000);
}
I can almost guarantee the actual code sent over IR is a 24- or 32-bit value, with only a few bits varying depending on which button is pressed. And, there are numerous different signalling protocols used for IR remotes. Generally each manufacturer concocts their own unique protocol. How did you acquire the code you're using? What have you done to ensure IRRemote is using the CORRECT protocol for YOUR TV?
Regards,
Ray L.
Wow, thank you so much you helped me a lot. I checked again and the protocol was RC5 . BIG THANKS!