Robotics Training LESSON 10: Using the Infrared (IR) Remote to Control Robot

In this lesson we show how to use the IR remote in the Elegoo Smart Car to send signals to the robot. The IR remote sends IR signals to the IR detector on the Electronic Shield sitting on top of the Smart Car. In this lesson we show how to install the IR library, and how to write code to send and detect IR signals. The code we develop in today’s lesson is included below for your convenience.