Skip to content

Add per channel property style access

Compare
Choose a tag to compare
@caternuson caternuson released this 22 Sep 14:44
07ffe38
  • Current state of individual pins can be accessed using array index and properties value and raw_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.