. (dot)
#include
setup()
void
/* */ (multiline comment)
false
true
// (comment)
, (comma)
{} (curly braces)
CHANGE
FALLING
HIGH
INPUT
loop()
LOW
LSBFIRST
MSBFIRST
null
OUTPUT
RISING
; (semicolon)
[] (array access)
() (parentheses)
return
= (assign)

 

Primitive
int
unsigned int
long
unsigned long
char
unsigned char
float
double
boolean
byte
array

Composite
String

Conversion
boolean()
byte()
char()
int()
long()
float()

 

Relational Operators
< (less than)
>= (greater than or equal to)
== (equality)
<= (less than or equal to)
> (greater than)
!= (inequality)

Iteration
for()
while()

Conditionals
break
switch()
case
else
if()

Logical operators
|| (logical OR)
&& (logical AND)
! (logical NOT)

Bitwise operators
| (bitwise OR)
|= (bitwise OR and assign)
& (bitwise AND)
&= (bitwise AND and assign)
^ (bitwise XOR)
~ (bitwise one´s complement)
<< (bitwise bit shift left)
>> (bitwise bit shift right)

Pin Digital I/O
pinMode()
digitalRead()
digitalWrite()

Port Digital I/O
portMode()
portRead()
portWrite()

Pin Analog Input
analogRead()

Pin PWM (Analog) Output
analogWrite()

Time
delay()
delayMicroseconds()
millis()

Pulse Input (polled)
pulseIn()

Pulse output generation
pulseOut()
pulseRunning()
pulseStop()

Advanced Output
shiftOut()

External Interrupts
attachInterrupt()
detachInterrupt()
interruptMode()

Interrupts
interrupts()
noInterrupts()

Operators
-= (subtract assign)
+ (addition)
- (minus)
% (modulo)
+= (add assign)
/ (divide)
* (multiply)
++ (increment)
-- (decrement)

Calculation
min()
max()
round()
pow()
floor()
sqrt()
abs()
constrain()
sq()
ceil()
map()

Trigonometry
tan()
sin()
cos()
degrees()
atan2()
radians()

Random
randomSeed()
random()

 

HALF_PI ( 1.57079... )
TWO_PI ( 6.28318... )
PI ( 3.14159... )