ساختار (structure) متغیر (values – variables and constants) توابع (Function)
pinMode()
digitalWrite()
digitalRead()
tone()
noTone()
ShiftOut()
analogReference()
analogRead()
analogWrite()
analogReadResolution()
analogWriteResolution()
HIGH | LOW
INPUT | OUTPUT | INPUT_PULLUP
LED_BUILTIN
true | false
integer constants
floating point constants
char()
byte()
int()
word()
long()
float()
Variable Declaration
void
boolean
char
unsigned char
byte
int
unsigned int
word
long
unsigned long
short
float
double
string – char array
array
variable scope
static
volatile
const
sizeof()
PROGMEM
Setup()
loop()
; (semicolon)
{} (curly braces)
// (single line comment)
/* */ (multi-line comment)
#define
#include
* dereference operator
& reference operator
& (bitwise and)
| (bitwise or)
^ (bitwise xor)
~ (bitwise not)
<< (bitshift left)
>> (bitshift right)
if
if … else
for
switch case
while
do…while
break
continue
return
goto
&& (and)
|| (or)
! (not)
= (assignment operator)
+ (addition)
– (subtraction)
* (multiplication)
/ (division)
% (modulo)
== (equal to)
!= (not equal to)
< (less than)
> (greater than)
<= (less than or equal to)
>= (greater than or equal to)
++ (increment)
– – (decrement)
+= (compound addition)
-= (compound subtraction)
*= (compound multiplication)
/= (compound division)
%= (compound modulo)
&= (compound bitwise and)