1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Arduino/hardware/libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde

20 lines
268 B
Plaintext
Raw Normal View History

2008-04-19 05:31:36 +02:00
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
2008-04-19 05:31:36 +02:00
void setup()
{
Serial.begin(9600);
}
void loop()
{
if (Serial.available()) {
delay(100);
lcd.clear();
while (Serial.available() > 0) {
lcd.write(Serial.read());
}
}
}