Blogger

Delete comment from: Ken Shirriff's blog

Anonymous said...

Hi! Sorry for my English.

I still have the same problem. I've been looking around and I found that the TV-b-gone for arduino turns off my old Sony TV. I searched into the code and I get the part of the library that turns off the TV, but I don't understand how the program handles the code.

This is the library:

const uint16_t code_na024Times[] PROGMEM = {
58, 60,
58, 2569,
118, 60,
237, 60,
238, 60,
};
const uint8_t code_na024Codes[] PROGMEM = {
0x69,
0x24,
0x10,
0x40,
0x03,
0x12,
0x48,
0x20,
0x80,
0x00,
};
const struct IrCode code_na024Code PROGMEM = {
freq_to_timerval(38462),
26, // # of pairs
3, // # of bits per index
code_na024Times,
code_na024Codes
};

Here you can find the code. http://www.arcfn.com/2010/11/improved-arduino-tv-b-gone.html

What is the relation betwen 0xA90(Sony OFF) and the above library?

I'm going crazy whith this.

Thank you!

Jan 26, 2013, 7:00:35 AM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu