Can't connect my Arduino Mega


When trying to compile the installation sketch I get the following error:

In file included from C:\Users\axilus\Documents\Arduino\libraries\Cayenne/CayenneWiFi.h:27:0,

             from C:\Users\axilus\AppData\Local\Temp\arduino_modified_sketch_272588\WiFiShield.ino:22:

C:\Users\axilus\Documents\Arduino\libraries\Cayenne/BlynkSimpleWiFi.h:22:18: fatal error: WiFi.h: No such file or directory

#include <WiFi.h>


compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.


Hi @cdorob,

Can you post the code you used?