

Wire.begin(0, 2) on ESP-01, else they default to pins 4(SDA) and 5(SCL). Before using I2C, pins for SDA and SCL need to be set by calling Wire.begin(int sda, int scl), i.e. Wire library currently supports master mode up to approximately 450KHz. Consider using one of the EEPROM libraries mentioned down below. Note that the sector needs to be re-flashed every time the changed EEPROM data needs to be saved, thus will wear out the flash memory very quickly even if small amounts of data are written. EEPROM.end() will also commit, and will release the RAM copy of EEPROM contents.ĮEPROM library uses one sector of flash located just after the SPIFFS. Size can be anywhere between bytes.ĮEPROM.write does not write to flash immediately, instead you must call mit() whenever you wish to save changes to flash. You need to call EEPROM.begin(size) before you start reading or writing, size being the number of bytes you want to use. 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 callback functions. Library for calling functions repeatedly with a certain period.

Over time the wealth Wi-Fi features ported from ESP8266 SDK to this library outgrew the APIs of WiFi Shield library and it became apparent that we need to provide separate documentation on what is new and extra.

mDNS and DNS-SD responder (ESP8266mDNS library).
