Skip to content

Timer for nRF52840? #1954

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

Closed
edwios opened this issue Jun 18, 2019 · 1 comment
Closed

Timer for nRF52840? #1954

edwios opened this issue Jun 18, 2019 · 1 comment

Comments

@edwios
Copy link

edwios commented Jun 18, 2019

Instead of using a while True: loop, I would like to use Timer(,,,callback) to periodically trigger a callback function. The reason is, I want to reduce the power consumption as much as possible so that I can deploy, for example, a temperature sensor that can run on a CR2032 coin cell for months.

Is there any way to realise this?

Thanks!

@dhalbert
Copy link
Collaborator

We have no way currently to do this. Low-power sleep and the like are on our long-term feature list, but we are not.

(Closed in favor of #696.)

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

2 participants