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

Reading averaged currents from PAC1933 #1

Merged
merged 2 commits into from
Nov 3, 2021
Merged

Reading averaged currents from PAC1933 #1

merged 2 commits into from
Nov 3, 2021

Conversation

tomek-szczesny
Copy link
Contributor

Also calculating power directly based on more stable inputs.

It did significantly improve current and power readout stability on my test setup (10 ohm resistor at 5V).

Current measurements are not perfect just yet, but it's a good start.

Also calculating power directly based on more stable inputs.
No more waiting for 1000us blindly after each refresh.
Instead, delay is introduced right before update, only if needed.
@leeseungcheol leeseungcheol merged commit 633c39c into hardkernel:master Nov 3, 2021
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