Skip to content

add Sleep-with-millis and power-saving library, understand & document power-saving modes #158

@SpenceKonde

Description

@SpenceKonde

This library will provide the following functionality:

  • Allow sleep where the RTC is used to keep time in standby sleep, and adjust millis() time upon wake, when using any timer except RTC as the timing source.
  • Provide a wrapper around sleep when RTC is used to keep time so that user does not have to manage re-sleeping when the ISR fires to update millis()

This will also coincide with testing to better understand sleep modes on the tinyAVR 0-series and 1-series parts.

Metadata

Metadata

Assignees

Labels

DxCore TooThis issue also impacts DxCore and probably others.enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions