Hi,
Welcome to the forum.
What model arduino are you using?
Can you please post a circuit diagram?
Have you run some simple code to test that you can communicate with the Capacitive KeyPad?
You need to establish that you can get data from the keypad, FORGET your code for the moment and write or use example code with library.
I see you are not using the TTP229 library.
It has examples as well.
Tom...
![]()