This repository was archived by the owner on Aug 18, 2020. It is now read-only.
1.7.2
- This release adds a function to register a callback function for retrieving a global timestamp.
Up until now ArduinoCloudThing
is relying on the RTC within the SAMD MCU which is instantiated
RTCZero rtc;
within ArduinoIoTCloud
and referenced within ArduinoCloudThing via extern declaration
. Due to the late binding caused by extern
this is a very brittle dependency which can be easily destroyed, it is therefore better to explicitly register a function which provides the time (like TimeService::getTime()
available within ArduinoIoTCloud
).