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 functions for managing power state #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

neilgupta
Copy link

This adds some simple functions for managing the AMG88xx's power state. You can switch between normal, sleep, and the 2 standby modes that the chip supports.

@caternuson
Copy link
Contributor

Sorry for missing this PR. Looks like it never passed the CI checks. If you're still interested in working this, please try pushing new changes (or may start a new PR?).

Also suggest consolidating into a single method, like setPowerMode(), instead of separate methods for each mode.

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

Successfully merging this pull request may close these issues.

2 participants