shirriff / Arduino-TV-B-Gone

The TV-B-Gone software ported to the Arduino platform
http://www.arcfn.com/2010/11/improved-arduino-tv-b-gone.html
174 stars 55 forks source link

LG TV issue #5

Open wilfaustino opened 6 years ago

wilfaustino commented 6 years ago

I have facing troubles with LG TV in Brazil. It doesn’t work. Someone knows what is its code?

ElectricRCAircraftGuy commented 6 years ago

Did you figure it out?

wilfaustino commented 4 years ago

I have returned to this issue and I figured out Brazilian LG TV (38kHz) and NA LG TV (33.6kHz) does not match frequency and codes. (Reference is TV-B-Gone v1.1)

//Brazilian LG TV const struct powercode brazilian_LG PROGMEM = { freq_to_timerval(38000), { { 900, 450 }, { 56, 56 }, { 56, 56 }, { 56, 166 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 166 }, { 56, 166 }, { 56, 56 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 166 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 56 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 56 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 166 }, { 56, 5000 }, } };

// Code 016 -- AOC, Daewoo, Goldstar, JC Penney, LG, Memorex, MGA, // Mistubishi, MTC, NEC, Philco, Portland, RCA, Samsung, // Teknika, Vidtech, Wards, Yamaha const struct powercode aocCode PROGMEM = { freq_to_timerval(33600), { {30, 215}, {30, 216}, {30, 216}, {30, 91}, {30, 91}, {30, 91}, {30, 216}, {30, 91}, {30, 91}, {30, 216}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 2573}, {30, 216}, {30, 216}, {30, 216}, {30, 91}, {30, 91}, {30, 91}, {30, 216}, {30, 91}, {30, 91}, {30, 216}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 91}, {30, 0}} };