Created
October 18, 2012 21:37
-
-
Save robertcasanova/3914893 to your computer and use it in GitHub Desktop.
Loading Arduino
This file contains hidden or 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
| /* | |
| This is an adaptation of Hello World code from Liquid Crystal Examples | |
| */ | |
| // include the library code: | |
| #include <LiquidCrystal.h> | |
| // initialize the library with the numbers of the interface pins | |
| LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
| void setup() { | |
| // set up the LCD's number of columns and rows: | |
| lcd.begin(20, 2); | |
| // Print a message to the LCD. | |
| } | |
| void loop() { | |
| lcd.clear(); | |
| lcd.print("Loading"); | |
| lcd.setCursor(7,0); | |
| delay(500); | |
| lcd.write('.'); | |
| delay(500); | |
| lcd.write('..'); | |
| delay(500); | |
| lcd.write('...'); | |
| delay(500); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment