Set up an SPI communication between two microcontrollers acting as two masters and an SD card as a slave, where:
Master 1
Two push-button switches are connected:
Master 2
One push-button switch is connected:
Ensure proper SPI communication, SD card handling, button debouncing, and log all actions on the serial terminal (e.g., Putty, Arduino IDE)