ESP32 and Cayenne


#1

I am trying to connect:
https://www.aliexpress.com/item/TTGO-LoRa32-LoRa-V2-1-1-6-version-433-868-915Mhz-ESP32-OLED-0-96-Inch/32872517875.html?spm=a2g0s.9042311.0.0.16a74c4d1taLDG

and report an error:
C:\Users\Toshiba\Documents\Arduino\libraries\Cayenne-MQTT-ESP-master\src/CayenneMQTTESP32.h:21:18: fatal error: WiFi.h: No such file or directory
compilation terminated.

Thanks for the answers


#2

you need to add WiFi.h library https://github.com/arduino-libraries/WiFi


#3

I added a line
#include <WiFi.h>

and it works.

thanks for the help