arduino / ArduinoCore-sam

80 stars 107 forks source link

Offset millis count "_dwTickCount" to desired value for runtime retentation from eeprom #135

Closed OptifySudarshanPatil closed 1 year ago

OptifySudarshanPatil commented 2 years ago

I need to store runtine in eeprom and restore into "millis()" return count. Is it possible to change value of "_dwTickCount"?_dwTickCount

matthijskooijman commented 2 years ago

See also https://github.com/arduino/ArduinoCore-API/issues/69, which tracks exactly this, but more generically across all cores.

OptifySudarshanPatil commented 1 year ago

Closing as no real time application.