Reader small image

You're reading from  Raspberry Pi LED Blueprints

Product typeBook
Published inSep 2015
Publisher
ISBN-139781782175759
Edition1st Edition
Right arrow
Author (1)
Agus Kurniawan
Agus Kurniawan
author image
Agus Kurniawan

Agus Kurniawan is an independent technology consultant, author, and lecturer. He has over 18 years' experience working on various software development projects, including delivering training courses and workshops, and delivering technical writing. He has done a few research activities related to wireless networking, software, and security in multiple universities. Currently, he is pursuing a Ph.D. program in Computer Science in Germany. He has previously written five books for Packt.
Read more about Agus Kurniawan

Right arrow

Introducing an LED dot matrix driver


Richard Hull and his team have already built an LED dot matrix driver based on IC MAX7219. You can download it from https://github.com/rm-hull/max7219. This library also supports cascading several dot matrix display modules. This means that we can cascade several LED dot matrix modules by connecting DOUT to DIN among these modules. You will learn how to cascade LED dot matrix modules in the last section of this chapter.

The library needs the SPI library to run the LED dot matrix display module. In the next section, I'm going to explain how to activate SPI on a Raspberry Pi board.

Enabling Raspberry Pi SPI

By default, Raspberry Pi disables the SPI port, so if we want to access the SPI port, we must activate it via raspi-config. Type the following command:

sudo raspi-config

You should get a raspi-config form. Select Advanced Options. Then, you should select A6 SPI, as shown in the following screenshot. Confirm to enable and load SPI onto Raspberry Pi. The...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi LED Blueprints
Published in: Sep 2015Publisher: ISBN-13: 9781782175759

Author (1)

author image
Agus Kurniawan

Agus Kurniawan is an independent technology consultant, author, and lecturer. He has over 18 years' experience working on various software development projects, including delivering training courses and workshops, and delivering technical writing. He has done a few research activities related to wireless networking, software, and security in multiple universities. Currently, he is pursuing a Ph.D. program in Computer Science in Germany. He has previously written five books for Packt.
Read more about Agus Kurniawan