I am using serial lcd module on 16x2 LCD for communicating through I2C communication but it is not working an error comes while compiling "Error compiling for arduino/genuino UNO"
here is the code I am using(p.s. hardware connections are alright)
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0,0);
lcd.print("hello world!");
}