SH01 Module

This is a Module for the SH01 capacitive touch sensor. The board is based off the CAP1296 capacitive touch sensor controller manufactured by Microchip Technology. The board uses I2C for communication.

Data Sheets:

SH01 class

class SH01(i2cdrv, addr=0x28, clk=100000)

Creates an intance of a new SH01.

  • i2cdrv – I2C Bus used ‘( I2C0, ... )’
  • addr – Slave address, default 0x28
  • clk – Clock speed, default 100kHz

Configures the registers of CAP1296. Call before using SH01


Detects a touch on all four buttons.

Returns the button touched as a string data type.