adafruit_cap1188.cap1188
¶
CircuitPython driver for the CAP1188 8-Key Capacitive Touch Sensor Breakout.
- Author(s): Carter Nelson
Implementation Notes¶
Hardware:
Software and Dependencies:
- Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
adafruit_cap1188.cap1188.
CAP1188
¶ CAP1188 driver base, must be extended for I2C/SPI interfacing.
-
delta_count
(pin)¶ Return the 8 bit delta count value for the channel.
-
recalibrate
()¶ Perform a self recalibration on all the pins.
-
recalibrate_pins
(mask)¶ Recalibrate pins specified by bit mask.
-
touched
()¶ Return 8 bit value representing touch state of all pins.
-
touched_pins
¶ A tuple of touched state for all pins.
-
adafruit_cap1188.i2c
¶
CircuitPython I2C driver for the CAP1188 8-Key Capacitive Touch Sensor Breakout.
- Author(s): Carter Nelson
Implementation Notes¶
Hardware:
Software and Dependencies:
- Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
adafruit_cap1188.i2c.
CAP1188_I2C
(i2c, address=41)¶ Driver for the CAP1188 connected over I2C.
adafruit_cap1188.spi
¶
CircuitPython SPI driver for the CAP1188 8-Key Capacitive Touch Sensor Breakout.
- Author(s): Carter Nelson
Implementation Notes¶
Hardware:
Software and Dependencies:
- Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
adafruit_cap1188.spi.
CAP1188_SPI
(spi, cs)¶ Driver for the CAP1188 connected over SPI.