An example of using ESP-NOW to wirelessly and (relatively) hassle-freely send data between badges.
The MAC address of the target badge is needed on the 'sender' badge. Set this in the PEER_MAC
variable in app.py
.
You can find a board's MAC through pressing the right
button of the Tildagon in this app.
Broadcast functionality, which does not require the MAC address of a recipient, does not seem to work as it shows in the espnow docs.
Two badges are needed for this to work - a badge to send, a badge to receive.
- On receiver badge, enter receiving mode in the app
- On sender badge, hit sending mode
- Receiver badge screen will turn white and (temperamentally) say "Received!" with the message data (default 'Hi').