Blogger

Delete comment from: Ken Shirriff's blog

Anonymous said...

Hi Ken! Thanks a lot for sharing this stuff. I very appreciate it!

I have some kind of troubles when I want to make an IR-tele commanded car: I must use two PWM's pins for the motors and another one for the IR reciever.

I have made two versions of my code. In one of them, I initialize with irrecv.enableIRIn(); in the void setup() part. The decode is well done only once. All the rest of the time it marks FFFFFFFF.

In the other version of code, I call irrecv.enableIRIn(); every time after the move command to the motors has been made. In this case the decode of the IR beam it's ok, but the motors don't move properly...

Would you so kind to tell us if the 'analogWrite' function over a PWM pin is compatible with an IR receiver?

Thanks in advance for your help.

Granada, Spain

Jun 13, 2013, 10:14:54 AM


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

Google apps
Main menu