
else if (touchstatus & (1 << ELE9))
{
digits = 'A';
}
else if (touchstatus & (1 << ELE10))
{
digits = 'B';
}
else if (touchstatus & (1 << ELE11))
{
digits = 'C';
}
Capacitive Touch Keypad
The Capacitive Touch Keypad is very similar to the MPR121 breakout
board, but instead of having to attach your own electrodes, this board
comes with a 12-pin keypad built-in.
The keypad has 5 lines that need to be connected to your microcontroller,
including the power lines, the IRQ line and the I C lines.
Connections
MPR121 Keypad
→
Arduino Uno
• 3.3V
→
3.3V
• SCL
→
A5
• SDA
→
A4
• GND
→
GND
2
Page 15 of 24