Welcome back to this series of Arduino tutorials! In this lesson, we will go over the bases of the Arduino software and I will help you familiarise with Arduino programmation.
How does the Arduino software work?
First of all, you will need to open the Arduino software without plugging in your Arduino board. This is what is going to show up:
The code that shows up is the base of the base of Arduino programmation. Every single program made with Arduino will include these two lines of code. As the software already tells you using the // characters, (using the // characters in an Arduino program means that the program will not think of it as a bit of code, so you can use it to organise your code when making complicated programs) the void setup code is where you will put the code you only want to be ran once and the void loop code is where you will put the code you want to be ran an infinite amount of times.
Let’s now take a look at these 5 buttons:
The 1st button starting from the left is a button that permits you to verify your code has no error. It is a very useful tool and I recommend you use it every time you finish your code.
The next button is a button that will transfer the code you will have written on the Arduino software to the Arduino board.
The third button permits you to create a new file, the fourth one to open a saved document and the fifth one to save a document.
In the next post, we will start programming our first Arduino program. We will also see how the Arduino board works so keep checking for new posts and like and comment if you liked.