Coding the microcontroller - the process
Introduction
I am assuming that we already have the Arduino Software installed and setup in our computers. If you haven't yet, refer back to Chapter 2, Systems and Logic, and you will be able to find out how to do that.
Note
We can always refer to https://www.arduino.cc/en/Guide/HomePage for more help.
Now comes the part where you will understand why this chapter is called The Magic Wand. Remember how I told you about a process you must follow for any problem statement you might have faced? Don't remember? That's okay, head back to the last chapter and have a quick look at it again.
Let's understand more about the skeleton (or the structure) of code we should follow when we write Arduino code.
Remember how I keep talking about having a process? The process or method that you follow while writing code for Arduino is by identifying two things:
The part of the code you want to run just once
The part of the code you want to keep running
Let's take an example....