Book Image

Raspberry Pi LED Blueprints

By : Agus Kurniawan
Book Image

Raspberry Pi LED Blueprints

By: Agus Kurniawan

Overview of this book

Table of Contents (14 chapters)
Raspberry Pi LED Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Make Your Own Digital Clock Display

We explore how to build a digital clock in this chapter. A digital clock is a type of clock that displays the time digitally. In general, it uses four digits of which two digits are used as the hour display and the rest are used as the minute display. First, we use a 4-digit 7-segment display module. Then, we introduce an OLED graphic display with an I2C interface and describe how to use it to build a digital clock.

You will learn the following topics in this chapter:

  • Introducing a 4-digit 7-segment display for a digital clock

  • Introducing an I2C OLED graphic display

  • Building a digital clock using an I2C OLED graphic display