Dear Sir
When I am tryingg the project of ESP Now. it is saying
“esp_now.h” no such directry. kindly guide how to install esp_now.h directry
1 Answers
Hi.
It is installed by default. You don’t need to install anything.
Just make sure you have an ESP32 or ESP8266 board selected when you compile the code.
For the ESP32, you include:
#include <esp_now.h>
And for the ESP8266, it is:
#include <espnow.h>
I hope this helps.
Regards,
Sara