In this article we will talk about loops. Loops are used for going through programming instructions for a defined or undefined number of times, so that we do not have to write the same statement over and over again. We will look at “for”-loops, “while”-loops and “do … while …”-loops.
This is the fifth part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….
Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.