Technical requirements

The hardware requirements for this chapter are as follows:

  • 1 LED (any color)
  • 1 LDR (Light Dependent Resistor) sensor module
  • Raspberry Pi 3B+
  • 5-6 female to female connecting wires

The code files for this chapter can be downloaded from https://github.com/PacktPublishing/Hands-On-Robotics-Programming-with-Cpp/tree/master/Chapter02.