Skip to content

Instantly share code, notes, and snippets.

@CaptEmulation
Created July 25, 2015 07:29
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 CaptEmulation/7844272599d929cd77ec to your computer and use it in GitHub Desktop.
Save CaptEmulation/7844272599d929cd77ec to your computer and use it in GitHub Desktop.
16x4 arduino sketch snippet
#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
lcd.setCursor(5, 0);
lcd.print("Hello");
lcd.setCursor(2, 1);
lcd.print("johnny-five");
}
void loop() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment