Note : If you are an absolute beginner to programming, it is a good idea to use the code+blocks programming option in Tinkercad, and copy over the generated C++ code to Arduino IDE.
Comments
- Comments are for you – the programmer or any other human who might read your code
- Comments are not run on the Arduino board
C++ | Blocks |
---|---|
/* multi-line comment */ // single line comment |
Statements
- Statements are compiled into an ‘executable’ of 1s and 0s, which are run on the Arduino.
- Statements end with a ;
C++ | Blocks | |
---|---|---|
|