1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00
Files
esp8266/hardware/libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde
2008-04-19 03:31:36 +00:00

20 lines
268 B
Plaintext

#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());
}
}
}