After setting up the Raspberry Pi, it's now time to connect different electronics components to it and program it using the C++ programming language. To use C++, we will first have to download and install a library called wiringPi.
In this chapter, we will cover the following topics:
- Installing the wiringPi library inside the Raspberry Pi
- Making an LED blink
- Smart Light—working with a digital sensor
- Pulse Width Modulation using softPwm