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

