Estructura
[] (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
Tipos de datos
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)
Primitivos
booleanbyte
char
double
float
int
long
unsigned char
unsigned int
unsigned long
word
Compuestos
StringVector
array
Tipos Constantes
ByteTableCharTable
Constant
ConstantString
DoubleTable
FloatTable
IntTable
LongTable
UCharTable
UIntTable
ULongTable
Conversión
byte()char()
float()
int()
long()
splitString()
toAscii()
toLowerCase()
toUpperCase()
Uso de bit, byte y word
bit()bitRead()
bitWrite()
highByte()
lowByte()
makeWord()
Clasificación de Caracteres
isAlpha()isAlphaNumeric()
isAscii()
isControl()
isDigit()
isGraph()
isHexadecimalDigit()
isLowerCase()
isPrintable()
isPunct()
isSpace()
isUpperCase()
isWhitespace()
Opciones de variables
conststatic
volatile
Operadores de apuntadores
* (dereference operator)& (reference operator)
Utilidades
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)
Operadores Relacionales
== (equality)> (greater than)
>= (greater than or equal to)
!= (inequality)
< (less than)
<= (less than or equal to)
Iteración
for()while()
Condicionales
breakcase
default
else
if()
switch()
Operadores Lógicos
&& (logical AND)! (logical NOT)
|| (logical OR)
Entrada/Salida
digitalWrite()
pinMode()
pullup()
portRead()
portWrite()
shiftOut()
analogReference()
noAnalogWrite()
setPWMResolution()
delayMicroseconds()
micros()
millis()
detachInterrupt()
interruptMode()
interrupts()
noInterrupts()
noTone()
setTonePolyphony()
tone()
enablePower()
sleep()
sleepMode()
Pin digital de Entrada/Salida
digitalRead()digitalWrite()
pinMode()
Pin digital de Entrada pullup
noPullup()pullup()
Puerto digital de Entrada/Salida
portMode()portRead()
portWrite()
Pin desplazamiento de bits
shiftIn()shiftOut()
Pin análogo de Entrada
analogRead()analogReference()
Pin PWM (Análogo) de Salida
analogWrite()noAnalogWrite()
Pin PWM Opciones Avanzadas
setPWMPrescale()setPWMResolution()
Tiempo
delay()delayMicroseconds()
micros()
millis()
Lectura de pulsos (polled)
pulseIn()Interrupciones
attachInterrupt()detachInterrupt()
interruptMode()
interrupts()
noInterrupts()
Generación de tonos
getTonePolyphony()noTone()
setTonePolyphony()
tone()
Serial Communication
SerialManejo de potencia
disablePower()enablePower()
Manejo de potencia avanzado
noSleep()sleep()
sleepMode()
Matemáticas
-= (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)
Operadores
+= (add assign)-= (subtract assign)
Operadores de bits
& (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)
Cálculo
abs()ceil()
constrain()
exp()
fabs()
floor()
fma()
fmax()
fmin()
fmod()
ldexp()
log()
log10()
map()
max()
min()
pow()
round()
signbit()
sq()
sqrt()
square()
trunc()
Trigonometría
acos()asin()
atan()
atan2()
cos()
cosh()
degrees()
hypot()
radians()
sin()
sinh()
tan()
tanh()
Aleatoriedad
random()randomSeed()
Operador
+ (addition)-- (decrement)
/ (divide)
++ (increment)
- (minus)
% (modulo)
* (multiply)
- (negation)