-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
ESP32: Fix ADC/battery sense logic #310
Conversation
I could also reproduce this issue and this solved it for me perfectly |
This could break the normal ESP32. Please double check that the voltages are still correct on it. |
Confirmed working on Wroom 32 board http://cdn.kouno.xyz/2H6KA4So.png (edit because I don't know how to do links apparently >.>) |
* ESP32: Fix ADC voltage readings * Forgot endif oops * Refactor a little bit * Fix spelling of 'resolution'
* ESP32: Fix ADC voltage readings * Forgot endif oops * Refactor a little bit * Fix spelling of 'resolution'
At least on ESP32-C3, default logic returns completely wrong values for voltage. This fixes it.