AnalogButtonAdapter Max_Value for esp32 #389
Replies: 1 comment
-
Nope, there isn't, you're welcome to create a PR with your changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Max_Value for the AnalogButtonAdapter is hardwired to 1023 which is fine for 10-bit ADCs but I am using an ESP32 which is 12-bit. I have changed the Max_Value in the AnalogButtonAdapter.h file by hand to 4095 but is there a way to do this programmatically?
Beta Was this translation helpful? Give feedback.
All reactions