ropg / ezTime

ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
MIT License
327 stars 92 forks source link

MKR1000 and MKR WiFi1010 - EEPROM #7

Closed grezco closed 5 years ago

grezco commented 5 years ago

Hello, As indicate in the Readme file, to use the MKR familly, I commented the two lines : //#define EZTIME_CACHE_EEPROM // #define EZTIME_CACHE_NVS

What is the impact of not using the epprom ?

ropg commented 5 years ago

My code can use either EEPROM.h or Preferences.h, the MKR comes with FlashStorage.h, which is a different interface to store values in EEPROM. You don't need to use the timezone info cache that is all this is used for. It is not as relevant as it used to be as we no longer use timezoneapi.io but our own timezoned info service which does not have a set maximum number of requests.

(I'll make this a little clearer in the docs.)