Arduino Zero Wifi
Anyone got Wi-Fi to work with Zero? ... When I also include any Wifi header files, my code compiles but stops running all together. I tried using the library manager and it automatically included the following:
#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>
Wifi.h depends on SPI.h, so I included that as well.
source to share
No need to include any WiFi library. WiFiClient , WiFiServer and WiFiUdp are internal classes.
If you have an original or compatible WiFi screen, the best place to start is with the guides provided at www.arduino.cc/en/Guide/ArduinoWiFiShield - only SPI.h
and WiFi.h
.
More details about the Wi-Fi Library are listed in WiFi Links .
If the examples don't work (maybe its a zero specific problem) there is also an arduino forum where you can ask for help.
But personally, I only have a regular firewall, so I can't provide a self taught WiFi example.
source to share