Arduino #2

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:

Capture d’écran 2017-04-21 à 17.10.57.png

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:

Capture d’écran 2017-04-21 à 16.43.06.png

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s