Welcome to the Robolink Community forum!
IR Sensors Not Working
We got a CoDrone with the remote and unfortunately the IR sensors on the sides of the remote don't seem to be working when you tap on it. The blue lights just keep flashing horizontally across the top. Are there any other things I need to do to make the IR sensors work?
robolink_leila last edited by
Hi @rhavlick ,
Take a look at this diagram and make sure you are using a
digitalRead()from the bottom IR sensors. I've included a link to the lesson here so you can take a look. If you still want to use the ones on the side you will need to write some different code because those are analog pins, which means they return a value from 0-1023. The code would look similar to this but replacing the motor commands with CoDrone commands. Hope this helps!