Open caternuson opened 2 years ago
it shooould yes! dox need updating too
OK, pretty easy fix, just a matter of scaling.
Which dox?
making it scale to 65535 as opposed to just 16 bit is a little trickier: https://github.com/adafruit/circuitpython/pull/6426. See the computational trick there to fill in the low-order bits properly.
The CP standard for
AnalogIn.value
is 16 bit: https://docs.circuitpython.org/en/latest/shared-bindings/analogio/index.html#analogio.AnalogIn.valueThis library wants to follow same convention: https://github.com/adafruit/Adafruit_CircuitPython_seesaw/blob/fd26309627c0758c982d272b6c708322102bddbf/adafruit_seesaw/analoginput.py#L34
NeoSlider (others?) return 10 bit: