

EEPROM.end() will also commit, and willĮEPROM library uses one sector of flash located just after the SPIFFS. Whenever you wish to save changes to flash. You need to call EEPROM.begin(size)īefore you start reading or writing, size being the number of bytes you want to use.ĮEPROM.write does not write to flash immediately, instead you must call mit() This is a bit different from standard EEPROM class. Here is library to simplificate Ticker usage and avoid WDT reset: TickerScheduler EEPROM Instead, set a flag inside the ticker callback and check for that flag inside the loop function. It is currently not recommended to do blocking IO operations (network, serial, file) from TickerĬallback functions. Library for calling functions repeatedly with a certain period. WiFiServer, WiFiClient, and WiFiUDP behave mostly the same way as with WiFi shield library.įour samples are provided for this library. Sent to the multicast or unicast address. You can use udp.destinationIP() to tell whether the packet received was Udp.beginMulticast(WiFi.localIP(), multicast_ip_addr, port). When listening to multicast packets, replace udp.begin(port) with Udp.beginPacketMulticast(addr, port, WiFi.localIP()). When sending a multicast packet, replace udp.beginPacket(addr, port) with WiFiUDP class supports sending and receiving multicast packets on STA interface.WiFi.printDiag(Serial) will print out some diagnostic info.WiFi.localIP() is for STA, WiFi.softAPIP() is for AP.WiFi.macAddress(mac) is for STA, WiFi.softAPmacAddress(mac) is for AP.call WiFi.softAP(ssid, password) to set up a WPA2-PSK network (password should be at least 8 characters).call WiFi.softAP(ssid) to set up an open network.WiFi.mode(m): set mode to WIFI_AP, WIFI_STA, WIFI_AP_STA or WIFI_OFF.

This is mostly similar to WiFi shield library. Other libraries (not included with the IDE).mDNS and DNS-SD responder (ESP8266mDNS library).
