//Simple demo to show hot to wire up a hard reset button
// The LCD display you have is I2C with 4 wires
// Connect Vcc and 0V as normal - SCL and SDA as per device - on UNO:
// SCL - pin A5
// SDA - pin A4
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// put your setup code here, to run once:
// initialize the lcd
lcd.init();
// Turn on backlight
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("I just got reset");
delay(3000);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0, 0);
lcd.print("Doing my thing! ");
delay(1000);
}