SPI: Serial Peripheral Interface
摘要
The chapter looks into the Serial Peripheral Interface, or SPI, communications protocol. In this chapter we will develop a sketch demonstrating SPI communication between an Arduino board and a SN74HC595 shift register, with the Arduino as the controller and the shift register as the peripheral. A second sketch will then be developed to demonstrate using SPI to pass data from a controlling Arduino, to a second peripheral Arduino.