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:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user