search
[last updated: 2022-08-10]
Arduino home page
Arduino programming - main page
-----
On this page:
==========================================
if no 'else' statement is used, and if there is only One statement to be executed,
then the curly braces can be omitted:
-----
if ( [some boolean condition] )
{ [statements] }
else
{ [statements] }
-----
if ( [some boolean condition] )
{ [statements] }
else if ( [some boolean condition] )
{ [statements] }
-------------------------------------------
// [statements to execute]
} // endfor
Using a multiplication in the increment line will generate a logarithmic progression.
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
.
.
.
eof