-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Can either replace set_thresholds()
or add new functionality.
# Global
thresholds = mpr121.thresholds # return a 12 tuple of tuples (touch, release)
mpr121.thresholds = (0x42, 0x23) # set all 12 to (touch, release)
# Per channel
chan0_thresholds = mpr121[0].thresholds # return tuple (touch, release)
mpr121[0].thresholds = (0x42, 0x23) # set to (touch, release)
Some way of individually setting touch
and release
would be nice too. Maybe?
mpr121.thesholds.touch = 0x42
mpr121.thesholds.release = 0x23
Metadata
Metadata
Assignees
Labels
No labels