Now that we have seen how to blink our LED using the GPIOZero library, let's look at an alternative method using the PiGPIO library.
The code we are about to walk through is contained in the chapter02/led_pigpio.py file. Terminate the previous example if it is still running, and run led_pigpio.py. The LED should blink again.
In the Further reading section, you will find relevant links to the PiGPIO API documentation for the specific features of this library that we are using in this section.
Let's walk through the PiGPIO version of our LED blinking code.