There's more...

The SPI bus allows us to control multiple devices on the same bus by using the Chip Enable signal. Some devices, such as the MAX7219, also allow what is known as a daisy-chain SPI configuration.

Get Raspberry Pi 3 Cookbook for Python Programmers - Third Edition 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.