Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 12 Next »

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
c = a+b; // c is assigned the sum of a, b


  • No labels