Blogger

Delete comment from: Ken Shirriff's blog

Mr Mase said...

Cheers for the library!

I've just got this working with my Samsung TV. I had to use the code improvements here to work with Samsung

http://www.maartendamen.com/2010/05/jeenode-infrared-project-part-1-getting-started/

And I also changed IRemote.cpp to work with my Atmega 1280 to use Pin 9 properly. Where it said:

pinMode(3, OUTPUT);
digitalWrite(3, LOW); // When not sending PWM, we want it low


To

#if defined (__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
pinMode(9, OUTPUT);
digitalWrite(9, LOW); // When not sending PWM, we want it low
#else
pinMode(3, OUTPUT);
digitalWrite(3, LOW); // When not sending PWM, we want it low
#endif

Jun 10, 2012, 2:22:59 PM


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

Google apps
Main menu