#include <TinyWireM.h>
#include <LiquidCrystal_attiny.h>
#define I2C_ADDR (0x27)
LiquidCrystal_I2C lcd(I2C_ADDR,16,2);
void setup() {
// put your setup code here, to run once:
TinyWireM.begin();
lcd.init();
lcd.setBacklight(true);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.clear();
lcd.setCutsor(0,0);
lcd.print("ATtiny85 Demo");
lcd.setCursor(0,1);
lcd.print("LCD16x2 I2C");
delay(1000);
}