Hello
I have found the below code on this forum to control my Samsung TV.
This works, fantastic!
//Turn Samsung TV on/off repeatedly to test program. IR LED connected to pin 3.
#include <IRremote.h>
#define POWER 0xE0E040BF //from IRrecvDemo, Ken Shirriff
#define SAMSUNG_BITS 32
IRsend irsend;
void setup()
{
pinMode (3, OUTPUT); //output as used in library
}
void loop() {
irsend.sendSAMSUNG(POWER, SAMSUNG_BITS);
delay (5000);
}//end of loop
I have changed the hex code (it needs the prefix 0x) from E0E040BF (on/off) to E0E0F00F (mute), E0E0E01F (volume up) this all works, all good so far.
I have also captured the code (using the Arduino) from the SKY remote, on/off, Sky Pause, Sky Record, I also have an electric heater which can be turned on or off via an IR remote I also have the Hex code for this.
I can not control the SKY box or heater.
Is it only possible to control the Samsung TV in 1 script?
I assume the code that makes it work for the Samsung is "BITS 32"
I have found the following info on a SKY post "the RC6 codes are 24 bits and all have a modulation frequency of 36kHz" - although I don't understand what this means, I have changed the code from "Bits 32" to "Bits 24" and also to "Bits 36" - unfortunately this won't work.
Any ideas / Help would be appreciated.
Please don't get too technical, I have only just started.