Skip to content

Instantly share code, notes, and snippets.

@nefo-mi
Created August 15, 2012 15:26
Show Gist options
  • Save nefo-mi/3361012 to your computer and use it in GitHub Desktop.
Save nefo-mi/3361012 to your computer and use it in GitHub Desktop.
Arduino Hello World
#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