Add the following snippet to your HTML:
Check your texts on the LCD display.
Read up about this project on
You can see the texts on the LCD display and control the brightness of the LCD.
#include <LiquidCrystal.h> const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); void setup(){ lcd.begin(16, 2); lcd.print("hello, world!"); delay(2000); lcd.clear(); } void loop(){ lcd.setCursor(0,0); lcd.print("time : "); lcd.print(millis() / 1000); char second = 's'; lcd.print(second); }
Comments