1#include <LiquidCrystal.h>
2
3const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
4LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
5
6void setup() {
7 lcd.begin(16, 2);
8 lcd.print("hello, world!");
9}
10
11void loop() {
12 lcd.setCursor(0, 1);
13 lcd.print(millis() / 1000);
14}
15
16
17