Structure
[] (array access)
= (assign)
, (comma)
// (comment)
{} (curly braces)
#define
delete
. (dot)
false
#include
loop()
/* */ (multiline comment)
new
null
() (parentheses)
return
; (semicolon)
setup()
true
void
[] (array access)
= (assign)
, (comma)
// (comment)
{} (curly braces)
#define
delete
. (dot)
false
#include
loop()
/* */ (multiline comment)
new
null
() (parentheses)
return
; (semicolon)
setup()
true
void
Data
byte
char
double
float
int
long
unsigned char
unsigned int
unsigned long
word
Vector
array
CharTable
Constant
ConstantString
DoubleTable
FloatTable
IntTable
LongTable
UCharTable
UIntTable
ULongTable
char()
float()
int()
long()
splitString()
toAscii()
toLowerCase()
toUpperCase()
bitRead()
bitWrite()
highByte()
lowByte()
makeWord()
isAlphaNumeric()
isAscii()
isControl()
isDigit()
isGraph()
isHexadecimalDigit()
isLowerCase()
isPrintable()
isPunct()
isSpace()
isUpperCase()
isWhitespace()
static
volatile
& (reference operator)
Primitive
booleanbyte
char
double
float
int
long
unsigned char
unsigned int
unsigned long
word
Composite
StringVector
array
Constant Types
ByteTableCharTable
Constant
ConstantString
DoubleTable
FloatTable
IntTable
LongTable
UCharTable
UIntTable
ULongTable
Conversion
byte()char()
float()
int()
long()
splitString()
toAscii()
toLowerCase()
toUpperCase()
Bit, byte and word handling
bit()bitRead()
bitWrite()
highByte()
lowByte()
makeWord()
Character classification
isAlpha()isAlphaNumeric()
isAscii()
isControl()
isDigit()
isGraph()
isHexadecimalDigit()
isLowerCase()
isPrintable()
isPunct()
isSpace()
isUpperCase()
isWhitespace()
Qualifiers
conststatic
volatile
Pointer Operators
* (dereference operator)& (reference operator)
Utilities
sizeof()
Control
> (greater than)
>= (greater than or equal to)
!= (inequality)
< (less than)
<= (less than or equal to)
while()
case
default
else
if()
switch()
! (logical NOT)
|| (logical OR)
Relational Operators
== (equality)> (greater than)
>= (greater than or equal to)
!= (inequality)
< (less than)
<= (less than or equal to)
Iteration
for()while()
Conditionals
breakcase
default
else
if()
switch()
Logical Operators
&& (logical AND)! (logical NOT)
|| (logical OR)
Input/Output
digitalWrite()
pinMode()
pullup()
portRead()
portWrite()
shiftOut()
analogReference()
noAnalogWrite()
setPWMResolution()
delayMicroseconds()
micros()
millis()
detachInterrupt()
interruptMode()
interrupts()
noInterrupts()
noTone()
setTonePolyphony()
tone()
enablePower()
sleep()
sleepMode()
Pin digital Input/Output
digitalRead()digitalWrite()
pinMode()
Pin digital Input pullup
noPullup()pullup()
Port digital Input/Output
portMode()portRead()
portWrite()
Pin Bit Shifting
shiftIn()shiftOut()
Pin analog Input
analogRead()analogReference()
Pin PWM (analog) Output
analogWrite()noAnalogWrite()
Pin PWM Advanced Settings
setPWMPrescale()setPWMResolution()
Time
delay()delayMicroseconds()
micros()
millis()
Pulse Input (polled)
pulseIn()Interrupts
attachInterrupt()detachInterrupt()
interruptMode()
interrupts()
noInterrupts()
Tone output generation
getTonePolyphony()noTone()
setTonePolyphony()
tone()
Serial Communication
SerialPower Management
disablePower()enablePower()
Advanced Power Management
noSleep()sleep()
sleepMode()
Math
-= (subtract assign)
&= (bitwise AND and assign)
| (bitwise OR)
|= (bitwise OR and assign)
^ (bitwise XOR)
<< (bitwise bit shift left)
>> (bitwise bit shift right)
˜ (bitwise ones complement)
ceil()
constrain()
exp()
fabs()
floor()
fma()
fmax()
fmin()
fmod()
ldexp()
log()
log10()
map()
max()
min()
pow()
round()
signbit()
sq()
sqrt()
square()
trunc()
asin()
atan()
atan2()
cos()
cosh()
degrees()
hypot()
radians()
sin()
sinh()
tan()
tanh()
randomSeed()
-- (decrement)
/ (divide)
++ (increment)
- (minus)
% (modulo)
* (multiply)
- (negation)
Operators
+= (add assign)-= (subtract assign)
Bitwise Operators
& (bitwise AND)&= (bitwise AND and assign)
| (bitwise OR)
|= (bitwise OR and assign)
^ (bitwise XOR)
<< (bitwise bit shift left)
>> (bitwise bit shift right)
˜ (bitwise ones complement)
Calculation
abs()ceil()
constrain()
exp()
fabs()
floor()
fma()
fmax()
fmin()
fmod()
ldexp()
log()
log10()
map()
max()
min()
pow()
round()
signbit()
sq()
sqrt()
square()
trunc()
Trigonometry
acos()asin()
atan()
atan2()
cos()
cosh()
degrees()
hypot()
radians()
sin()
sinh()
tan()
tanh()
Random
random()randomSeed()
Operator
+ (addition)-- (decrement)
/ (divide)
++ (increment)
- (minus)
% (modulo)
* (multiply)
- (negation)