Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
// 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