import keypad as key
import lcdi2c as lcd
from utime import sleep

sleep(0.01)
lcd.str_wrt("    welcome")
while 1:
    a=key.getkey()
    if a!=0: #only run when keypad pressed
        print(a)
        if a=="#":
            lcd.cmd_wrt(0x01)
            lcd.cmd_wrt(0x85)
            lcd.str_wrt("BMT4033")
        elif a=="*":
            lcd.cmd_wrt(0x01)
        else:
            lcd.cmd_wrt(0xc5)
            lcd.str_wrt(a)


BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT