/* ATtiny44/84 I2C pins: ATtiny Pin 5 = SDA --> PB0 ATtiny Pin 7 = SCK --> PB2 */ #include #include uint8_t count = 0; #define ADDR 0x3F LiquidCrystal_I2C lcd(ADDR, 16, 2); void setup() { lcd.init(); lcd.backlight(); } void loop() { lcd.setCursor(0, 0); lcd.show("ATTINY44 & I2C & LCD"); lcd.setCursor(0, 1); lcd.show("HELLO LCD-ATTINY44"); lcd.scrollDisplayLeft(); // function that shifts character by character to the left at a time delay(1000); // one-second delay }