Open Sayeed97 opened 1 month ago
The above code links are for the Arduino but doesn't work for ESP8266. For Hardware Connections refer to the link https://diyi0t.com/spi-tutorial-for-arduino-and-esp8266/
ESP8266 as Slave References: Source code: https://github.com/esp8266/Arduino/tree/master/libraries/SPISlave/src Example code: https://github.com/esp8266/Arduino/tree/master/libraries/SPISlave/examples/SPISlave_Test
TODO:
Simplify the ESP8266 code to perform rudimentary functionalities of SPI slave -
TODO:
SPI.h library allows you to communicate with SPI devices, a feature on all Arduino and ESP8266 boards. SPI is a communication protocol for reading/sending data to/from devices.
References:
SPI tutorial for Arduino and ESP8266: https://diyi0t.com/spi-tutorial-for-arduino-and-esp8266/ SPI.h: https://www.arduino.cc/reference/en/language/functions/communication/spi/