WifiEspNow
ESP-NOW Arduino library for ESP8266 and ESP32
|
Functions | |
void | processRx (const uint8_t mac[WIFIESPNOW_ALEN], const uint8_t *buf, size_t count, void *arg) |
void | setup () |
void | sendMessage () |
void | loop () |
Variables | |
int | ledState = HIGH |
EspNowBroadcast.ino demonstrates how to perform ESP-NOW pseudo broadcast with WifiEspNowBroadcast
. You need two or more ESP8266 or ESP32 devices to run this example.
All devices should run the same program. You may need to modify the PIN numbers so that you can observe the effect.
With the program running on several devices:
void loop | ( | ) |
void processRx | ( | const uint8_t | mac[WIFIESPNOW_ALEN], |
const uint8_t * | buf, | ||
size_t | count, | ||
void * | arg | ||
) |
void sendMessage | ( | ) |
void setup | ( | ) |
int ledState = HIGH |