#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Servo.h>
#define SERVO_PIN 6
#define SERVO_LOCK_POS 20
#define SERVO_UNLOCK_POS 90
#define DIS_SDA A4
#define DIS_SCL A5
int KEY_ROWS = 4;
int KEY_COLS = 4;
byte rowPins[4] = {A0, A1, A2, A3};
byte colPins[KEY_COLS] = {2, 3, 4, 5};
char keys[KEY_ROWS][KEY_COLS] =
{'1', '2', '3', 'A'}
{'4', '5', '6', 'B'}
{'7', '8', '9', 'C'}
{'*', '0', '#', 'D'}
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("test");
}
void loop() {
// put your main code here, to run repeatedly:
}