rhubarbdog
Posts: 64
Joined: Mon Dec 11, 2017 9:58 pm

mpr121 capacitive touch keypad

Fri Nov 30, 2018 6:29 am

Yet another mpr121 keypad driver class.
Mine's both light weight using posix to communicate over i2c. And easy to use. The keypad class has a dictionary of 12 keys. Each of these objects has easy to use methods to interrogate current and previous keypad usage.

Code: Select all

KEYPAD.key[1].is_pressed()
Download it from https://github.com/rhubarbdog/mpr121-keypad

Return to “Interfacing (DSI, CSI, I2C, etc.)”