Chapter 6. Controlling the LEDs and Displays

In this chapter, we will cook up some magic with LEDs!

  • Setting up brightness using PWM
  • Monitoring Twitter/e-mails to blink an LED
  • Connecting a seven-segment number display module to the RPZ
  • Connecting an LED matrix display to the RPZ
  • Connecting an RGB LED and generating different colors
  • Interfacing the 16x2 LCD display with RPZ
  • Connecting the 74HC595N shift register to control many LEDs

Introduction

Output comes in many different varieties. It can be words printing to paper or a monitor, or it can be information sent to LCD panels. LEDs are outputs too, and can be easily configured to notify you of an event, with some simple programming and work with the GPIO Header. Let's explore how the Raspberry Pi Zero's ...

Get Raspberry Pi Zero Cookbook 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.