1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Adding LiquidCrystal library.

This commit is contained in:
David A. Mellis
2008-04-19 03:31:36 +00:00
parent 7d2a6a115f
commit ac06b319b0
6 changed files with 214 additions and 2 deletions

View File

@ -0,0 +1,19 @@
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 2, 7, 8, 9, 10);
void setup()
{
Serial.begin(9600);
}
void loop()
{
if (Serial.available()) {
delay(100);
lcd.clear();
while (Serial.available() > 0) {
lcd.write(Serial.read());
}
}
}