#in general yes reading 8 pots or 8
1 messages · Page 1 of 1 (latest)
you know that one read takes 8ms ?
https://github.com/adafruit/Adafruit_CircuitPython_seesaw/blob/6d85e9b4cfb04f865dfab4cbd0464d3fcdd5f89a/adafruit_seesaw/seesaw.py#L470
that's the real seesaw bottleneck
unless you have a ready pin, but I assume it still takes time
bulk reads also take 8ms, so they are preferred if possible
haha yeah I have accounted for that crazy sleep(). The lag can be reduced by reading one knob at a time through the UI loop. like what I did here: https://github.com/todbot/seeknobs/blob/main/circuitpython/knobs_midi.py
I did hack an async version of the library, so that multiple devices could be read in "parallel", that doesn't help for a single device though