Last active
December 12, 2015 08:08
-
-
Save buildcircuit/4741272 to your computer and use it in GitHub Desktop.
Basic Serial LCD: http://www.buildcircuit.com/serial-lcd-do-it-yourselfdiy-kit/
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
// This sketch has to be uploaded to your Arduino | |
// get kit details: at http://www.buildcircuit.com/serial-lcd-do-it-yourselfdiy-kit/ | |
#include <SoftwareSerial.h> | |
SoftwareSerial lcd(2,3); | |
// RX- PIN 2 | |
// TX- PIN 3 | |
// CONNECT PIN 3 OF ARDUINO TO RX PIN OF SERIAL LCD KIT | |
void setup() | |
{ | |
Serial.begin(9600); // start serial monitor serial | |
lcd.begin(9600); // start lcd serial | |
lcd.print("buildcircuit.com"); | |
} | |
void loop() | |
{ | |
while(Serial.available()) // If serial data is available do this | |
lcd.print((char) Serial.read()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment