Created
July 25, 2015 07:29
-
-
Save CaptEmulation/7844272599d929cd77ec to your computer and use it in GitHub Desktop.
16x4 arduino sketch snippet
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> | |
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