TTP229 Micro:Bit MakeCode software

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
MicroGuy
Posts: 10
Joined: Sun Jan 17, 2021 8:31 pm

TTP229 Micro:Bit MakeCode software

Post by MicroGuy » Mon May 31, 2021 11:16 pm

Here's an adaptation of code for the Arduino that works nicely on a Micro:Bit connected to a TTP229 keyboard. The keypad unit requires a jumper at the TP1 and TP2 positions located just above the "2" pad on the bottom two rows of solder pads. I recommend using pins and jumper blocks so you can make changes as you wish. The keypad's SDO (serial-data out) pin connects to MB pin 1, and the SCL (serial clock) connects to MB pin 0. Connect the TTP229 VCC pin to the MB's #V contact, and connect the keypad's GND pin to the MB's GND pad. --Jon
Attachments
TTP229 keypad input.jpg
TTP229 keypad input.jpg (98.22 KiB) Viewed 287 times

Post Reply