Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1.Interfacing a 16*2 LCD with Arduino using I2C protocol
code:
#include
int seconds = 0;
Adafruit_LiquidCrystal lcd_1(0);
void setup()
{
lcd_1.begin(16, 2);
lcd_1.print("sarath kumar");
}
void loop()
{
lcd_1.setCursor(0, 1);
lcd_1.print(seconds);
lcd_1.setBacklight(1);
delay(500); // Wait for 500 millisecond(s)
lcd_1.setBacklight(0);
delay(500); // Wait for 500 millisecond(s)
seconds += 1;
}
this project link below mentioned here:
https://www.tinkercad.com/things/aoYkQbD2TDz-stunning-bigery-wolt/editel?sharecode=At6OP7w_-alEoqlJ0RCVKM_Zp0K6GwbK7YyDP6CEYCM