Add per channel property style access
- Current state of individual pins can be accessed using array index and properties
value
andraw_value
, ex:mpr121[0].value
. - Adds
.touched_pins()
to get current state of all pins with one call.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-mpr121
.
Read the docs for info on how to use it.