It is a simple digital padlock system.The summary of features is:  - Pressing the 0 button allows changing the password (default 0123)  - Press button 1 to activate / deactivate the system.  - If the password verification fails three times in a row, the keypad is temporarily locked.  - The edit mode activates specific colors in the RGB led  - You can add as many buttons as you want.

CONNECTIONS

 

button0 = Button(24, False)
button1 = Button(25, False)
button2 = Button(8, False)
button3 = Button(7, False)

led0 = LED(12)
led1 = LED(16)
led2 = LED(20)
led3 = LED(21)

ledRGB = RGBLED(26, 19, 13)