[LCD 출력하기]

 

* LCD 회로도 1

 

 

* LCD 회로도 2

 

 

* LCD 소스

#include<LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5,  4, 3, 2);

void setup() {
  lcd.begin(16, 2);
  lcd.print("hello, world!");
}

void loop() {
  lcd.setCursor(0, 1);
  lcd.print(millis()/1000);
}

 

+ Recent posts