Skip to content

Instantly share code, notes, and snippets.

@buildcircuit
Last active December 12, 2015 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buildcircuit/4741272 to your computer and use it in GitHub Desktop.
Save buildcircuit/4741272 to your computer and use it in GitHub Desktop.
// 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