Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add millisecond precision to timekeeping #40

Open
KravitzLab opened this issue Dec 25, 2021 · 3 comments
Open

add millisecond precision to timekeeping #40

KravitzLab opened this issue Dec 25, 2021 · 3 comments

Comments

@KravitzLab
Copy link
Member

run a timer that resets every second using the RTC, and use millis() to add millisecond precision to the timekeeping functions

@KravitzLab
Copy link
Member Author

Add simple millis() column to log file

@KravitzLab
Copy link
Member Author

This is also possible by using LowPower.idle() instead of LowPower.sleep(). Need to do power consumption measurements in both cases.

https://circuitdigest.com/microcontroller-projects/arduino-sleep-modes-and-how-to-use-them-to-reduce-power-consumption

https://github.com/arduino-libraries/ArduinoLowPower/blob/master/src/ArduinoLowPower.h

@KravitzLab
Copy link
Member Author

Also I think LowPower.deepsleep() is just LowPower.sleep(), will confirm with Otii measurement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant