Simple use of keypad, password and LCD
Please note, I am using a 20×4 I2C LCD display in this sketch, please adjust to your display needs. This sketch allows for multiple users and the ability to change said user’s password /* || @version 1.0 || || @description || Simple use of keypad, password and LCD */ #include <Keypad.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x20,20,4); char Data[20]; // 20 is the number of chars it can hold const byte Usercount = 3; char Master[2][7] = { “123456”, “000123” }; char * User[Usercount] = { “Master”,”Andrew”,”INVALID”}; byte currentCommand = 0; byte MasterCount = 6; byte good_Count = 0; int …