Using Python to Drive Hardware

In this chapter, we will cover the following topics:

  • Controlling an LED
  • Responding to a button
  • The controlled shutdown button
  • The GPIO keypad input
  • Multiplexed color LEDs
  • Writing messages using persistence of vision