As of September 2021, we have moved technical support to Robolink Help
Welcome to the Robolink Community forum!
You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.
IR Sensors Not Working
-
Hello,
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?
Thanks
-
Hi @rhavlick ,
Take a look at this diagram and make sure you are using adigitalRead()
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!