This worked BEAUTIFULLY!! Been having issues with the library but this one worked!! (I was also lucky and the I2C address was actually 0x27.) I2C gives so much more functionality of the LCD, thank you for the help! ![]()
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define BACKLIGHT_PIN 3
#define En_pin 2
#define Rw_pin 1
#define Rs_pin 0
#define D4_pin 4
#define D5_pin 5
#define D6_pin 6
#define D7_pin 7
LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);
//----------------------------------------------------------------------------- Void Setup
void setup() {
lcd.begin(16, 2);
lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
lcd.setBacklight(LOW);
lcd.home ();
lcd.clear();
lcd.print("Testing");
delay(500);
lcd.clear();
}
//----------------------------------------------------------------------------- Void Loop
void loop() {
lcd.setBacklight(HIGH);
lcd.setCursor(0,0);
lcd.print("Hello");
delay(1000);
lcd.clear();
delay(500);
}