Implementing Blink with wiringPi

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

Get Hands-On Robotics Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.