Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 633 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 633 Bytes

SPI-communication

The C-code of a master and slave that communicate over SPI.
The code was written in Atmel Studio and is supposed to demonstrate the functionality of the SPI communication between two Arduino UNO/NANO.

Master

  • reads the state of a button
  • Send the button state over SPI to the slave
  • controls the SPI communication

Slave

  • controls an LED depending on the button state of the master
  • Turns on the LED in case button is pressed
  • Turns off the LED in case button is not pressed

Schematic: grafik