LCD Display - JuliaElizabethLittle/peeMarksmanship GitHub Wiki
We wanted to have a display in which the Score of a person was displayed. And latter maybe the high scores of the day could scroll by, but that would be an added value. So the first thing we did was get an Arduino Crystal Display. To try it out we tried this example (hello world!). We connected our Arduino and the Display the following way:
And then wrote:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
void setup()
{
lcd.begin(16,1);
lcd.print("hello, world!");
}
void loop() {}
So the first thing it does is set up the library included in Arduino, and then it declares all the pins that are connected to the display. After that you simply ask the lcd to begin (by introducing the number of columns and rows (16,1) and then it's as easy as printing the text you want there to appear.
Then we joined the three of them