https://iot-guider.com/arduino/using-serial-peripheral-interface-spi-in-arduino/attachment/using-spi-in-arduino-2/
Using SPI in Arduino