does anyone know how to use I2C on attiny85 I installed TinyWireM and TinyWireS
well here is the code i am trying to use Im just trying to write to an I2C-LCD
#include <TinyWireM.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set address & 16 chars / 2 lines
void setup()
{
TinyWireM.begin(); // initialize I2C lib
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.clear(); // Print a message to the LCD.
}
void loop()
{
lcd.setCursor(0, 0);
lcd.print("GRobotronics.com");
}