This examples shows how to use 2 ESP32 to work as master-slave. The master send 1 to the slave, then, it increase the number that arrives and put it in its buffer. Afterwards, the master read the slave buffer and sends that value.
You need 2 ESP32 basic Devboard, this was tested with 2 NodeMCU.
To deploy the website in the SD Card you must have this pin connection for this example.
ESP32-MASTER | ESP32-SLAVE | DESCRIPTION |
---|---|---|
GPIO22 | GPIO5 | I2C SCL |
GPIO21 | GPIO4 | I2C SDA |
- | GPIO2 | LED |
- Last compile: September 09t 2023.
- Last test: September 09t 2023.
- Last compile espidf version: v5.1.1
Apache License, Version 2.0, January 2004.
v 1.0.0