Created
August 15, 2012 15:26
-
-
Save nefo-mi/3361012 to your computer and use it in GitHub Desktop.
Arduino Hello World
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> | |
int incomingByte; | |
char inByte; | |
String inMsg; | |
LiquidCrystal lcd(7,8,9,10,11,12,13); | |
void setup() | |
{ | |
lcd.begin(2, 16); | |
lcd.clear(); | |
lcd.print("Hello"); | |
world(); | |
} | |
void loop() | |
{ | |
/*Nothing to do*/ | |
} | |
void world() | |
{ | |
lcd.setCursor(6, 1); | |
lcd.print("World"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment