It is ESP8266, and I am using the Arduino framework (VS Code + Platform IO). The documentation uses constants like ESP_OK or ESP_ERR_ESPNOW_INTERNAL, but what to include to use them with the Arduino framework? There seems to be no "esp_now.h" but only "espnow.h" (.platformio\packages\framework-arduinoespressif8266\tools\sdk\include\espnow.h), and it does not include such constants.
-
That documentation is for ESP-IDF i.e. ESP32. Did you take a look at randomnerdtutorials.com/esp-now-esp8266-nodemcu-arduino-ideMarcel Stör– Marcel Stör2021-09-19 06:18:47 +00:00Commented Sep 19, 2021 at 6:18
-
try to download the files manually from github and adding to libs folderNeWi-SL– NeWi-SL2021-09-21 14:35:06 +00:00Commented Sep 21, 2021 at 14:35
Add a comment
|