Establish SPI communication between two Arduino Uno boards, with one acting as the master and the other as the slave.
Connect a push-button switch to the master and an LED to the slave.
Toggle the state of the LED by pressing the push-button switch.
Note: In case you don’t have two Arduino UNO boards you can use any other compatible microcontroller as a slave with SPI communication capability.
Expected LED Toggling Output