6. 1602 Character LCD
1. 1602LCD 실체
2. Sample source code
2. Sample source code
//Compatible
with the Arduino IDE 1.0
//Library
version:1.1
#include
<Wire.h>
// I2C control library
#include
<LiquidCrystal_I2C.h> //
LCD library
LiquidCrystal_I2C
lcd(0x27,16,2); // set the LCD address
to 0x20 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight(); // turn on backlight
//lcd.print(" Hellow !");
}
void loop()
{
lcd.print(" Hellow !");
delay(2000);
lcd.clear();
delay(2000);
라벨: arduino
0개의 덧글:
댓글 쓰기
에 가입 댓글 [Atom]
<< 홈