User manual
Info
If you are working with Arduino™ for the first time, you need
to download the Arduino™ developer environment first. You can
find it on the official Ar-
duino™-websitehttp://www.arduino.cc.
Here, you can select your operating system and determine if
you want to use the installer or the Zip-version. In the
installer version, you install Arduino™ like a normal standard
program. In the Zip-version, you need no installation. Unzip
the Zip file and save it in a desired storage site on your
computer. This has the benefit that you can save the Arduino™-
e.g. on a USB drive and take it along anywhere.
Attention
Only save Arduino where you have all rights to read, write,
etc.!
For the first function test, load the following program onto the
Arduino™-board. The example programs can all be found on the
enclosed CD in the Examples folder.
The program will make a text and a kind of counter appear on the
LCD and is well suitable as the first function test to check that
everything is working properly because it is very small and
well-structured.
Example code: LCD
001 // Integrating LCD-Library
002 #include <LiquidCrystal.h>
003
004 // Specifying LCD pins
005 // RS, E, D4, D5, D6, D7
006 LiquidCrystal lcd(11, 10, 2, 3, 4, 5);
007
008 void setup()
009 {
010 // LED-Backlighting
011 analogWrite(9, 150);
012
013 // LCD output
014 lcd.begin(16, 2);
015 lcd.setCursor(0, 0);
016 lcd.print("**ARDUINO LCD**");
017 lcd.setCursor(0, 1);