Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

1.7.2

Compare
Choose a tag to compare
@aentinger aentinger released this 25 Feb 12:56
· 3 commits to master since this release
  • 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).