11
The SPI Bus and Third-Party Libraries
Parts You'll Need for This Chapter
- Arduino Uno or Adafruit METRO 328
- USB cable (Type A to B for Uno, Type A to Micro-B for METRO)
- Half-size or full-size breadboard
- Assorted jumper wires
- 220Ω resistors (×4)
- 5mm common-anode RGB LED
- Piezo buzzer
- Adafruit LIS3DH breakout board
- CODE AND DIGITAL CONTENT FOR THIS CHAPTER
- Code downloads, videos, and other digital content for this chapter can be found at:
exploringarduino.com/content2/ch11
- Code for this chapter can also be obtained from the Downloads tab on this book's Wiley web page:
wiley.com/go/exploringarduino2e
You've already learned about two important digital communication methods that are available to you on the Arduino: the I2C bus and the serial UART bus. In this chapter, you will learn about a third digital communication method supported by the Arduino hardware: the Serial Peripheral Interface bus, or SPI (often pronounced “spy”) bus for short.
Unlike...