Created
October 13, 2016 05:31
-
-
Save taesamja/7965c40fceb66fbf99d08a6d6fab7733 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);//RS,EN,D4,D5,D6,D7 | |
void setup() { | |
lcd.begin(16, 2); | |
Serial.begin(9600); | |
} | |
void loop() { | |
if (Serial.available()) { | |
delay(100); | |
lcd.clear(); | |
while (Serial.available() > 0) { | |
lcd.write(Serial.read()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment