Here is now a real example program.
After installation of the library we are ready for our first example program.
See the example program below to see how they interact.
With this example program you can get an idea what a week of holiday therapy could look like.
Met dit voorbeeldprogramma kun je een impressie krijgen van hoe een week vakantietherapie eruit kan zien.
Still I have a useful example program for you that uses what we discussed so far.
Ik heb een handig voorbeeld programma dat gebruik maakt van waar we het tot nog toe over gehad hebben.
Here's what our example program looks like
Dit is hoe ons voorbeeld programma eruit ziet
The last section of this article where I present an example program may also serve as a tutorial on how to use the functions.
De laatste sectie van dit artikel, waar we een voorbeeld programma zullen bespreken, kan ook dienen als een tutorial over het gebruik van de functies.
You have already dealed with a condition before, this is for example number<10 shown in the while-loop example program below.
Een conditie hebben we al eerder behandeld, dit is bijvoorbeeld getal<10 in het while-loop voorbeeld programma.
In the while-loop example program this is executed in the loop by the instruction number = number + 1.
In het while-loop voorbeeld programma werd dit in de loop uitgevoerd door de instructie getal = getal + 1.
The instruction int number=1 for the while-loop example program showb below is the initialization of the variable number
De instructie int getal = 1 bij het while-loop voorbeeld programma is de initialisatie van de variabele getal
Try now to find out how often the text "I repeat this" is printed by the previous example program.
Probeer nu uit te vinden hoe vaak de tekst "Dit herhaal ik" afgedrukt wordt door het laatste voorbeeld programma.
It is meant to be used as a simple example program that shows how to drive the LCD panel.
Het is bedoeld als een eenvoudig voorbeeldprogramma dat laat zien hoe je de LCD kunt aansturen.
Update: the example program and library has been updated to Arduino version 1.0.
Update: het voorbeeld programma en de library zijn aangepast voor Arduino versie 1.0.