Skip to content

boarchuz/espnow_basic_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESPNOW Basic Example

This is a very basic example to get up and running with ESP-NOW using ESP-IDF. While the included example in the IDF is comprehensive and secure, this example should allow for faster understanding and testing.

The slave will simply send a random value and the state of GPIO 0 (typically attached to a button named '0', 'BOOT' or 'PROG' on most dev boards) to the broadcast address. The master will receive and log it.

To customise the payload, simply change the struct in espnow_basic_config.h, and edit my_slave.c and my_master.c to populate and parse respectively.

See espnow_basic_config.h for more.

About

A very basic example using ESPNOW with ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published