5101+ reviews
Order by 16:00 for same day shipping
14 days return
GB
EN
Individual
Business
03/03/2025
The programming language that Arduino uses is very similar to C++, a common language in the computer world.
The code you learn to write for Arduino will be very similar to code you would write in any other computer language. All the basic concepts remain the same, it is really just a matter of learning to work with a different dialect.
When writing code for microcontrollers, performance is very important. Therefore, you need to have strong and fast programming languages. C and C++ are among the most powerful languages you can find.
These are quite fast and stable, and are therefore a good choice for microcontrollers.
The compiler used to convert code into object files is avr-g++.
Next, a program called avrdude is used to upload the program to the Arduino microcontroller.
The Arduino programming language can be divided into three main parts: functions, values (variables and constants), and structure.
The Arduino codes are written in English. For this reason we will name the parts below in English.
Functions are used to control the Arduino board and perform calculations. The functions are indicated in orange in the code.
Variables are Arduino data types and constants. The variables are indicated in blue in the code.
The structure are elements of the Arduino (C++) code. The structure is indicated in green in the code