Key Programming Skills
This section introduces some key programming skills that can be useful
in any of the other packets on this website. All of them use the
simplest circuits, involving one or more LEDs.
A packet on functions shows how to streamline your code
by taking blocks of repeated statements and placing them into your own
custom-designed function. This will make your code more readable, easier
to test and easier to reuse.
A packet on conditionals shows how to get greater control
arduinoprogram by executing selected statements only if/when some
logical test is satisfied. This is a basic component of programming in any language.
A packet on loops shows how to repeat a sequence of steps
a certain number of times, or until some condition is met.
A packet arrays shows how to create lists of similar values and
manipulate individual values in those lists.