0% found this document useful (0 votes)
4 views4 pages

Arduino Funciones Matematicas

The Arduino Reference provides an overview of the Arduino programming language, which consists of functions, variables, and structure. It includes details on digital and analog I/O functions, data types, control structures, and operators. The document is licensed under a Creative Commons Attribution-Share Alike 3.0 License and encourages user contributions for improvements via GitHub.

Uploaded by

miguel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Arduino Funciones Matematicas

The Arduino Reference provides an overview of the Arduino programming language, which consists of functions, variables, and structure. It includes details on digital and analog I/O functions, data types, control structures, and operators. The document is licensed under a Creative Commons Attribution-Share Alike 3.0 License and encourages user contributions for improvements via GitHub.

Uploaded by

miguel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

5/3/2020 Arduino Reference

E SOFTWARE EDUCATION PRO RESOURCES COMMUNITY HELP SIGN IN

Language Reference
Arduino programming language can be divided in three main parts
functions, values (variables and constants), and structure.

FUNCTIONS
For controlling the Arduino board and performing computations.
LANGUAGE

FUNCTIONS
Digital I/O Advanced I/O Math
VARIABLES
digitalRead() noTone() abs()
STRUCTURE digitalWrite() pulseIn() constrain()
pinMode() pulseInLong() map()
LIBRARIES
shiftIn() max()
GLOSSARY
shiftOut() min()
Analog I/O
tone() pow()
The Arduino Reference text is
analogRead()
licensed under a Creative sq()
Commons Attribution-Share Alike analogReference()
3.0 License. sqrt()
analogWrite() Time
Find anything that can be
improved? Suggest corrections delay()
and new documentation via delayMicroseconds() Trigonometry
GitHub. Zero, Due & MKR Family
micros() cos()
Doubts on how to use Github? analogReadResolution()
Learn everything you need to millis() sin()
know in this tutorial. analogWriteResolution()
tan()

https://www.arduino.cc/reference/en/ 1/4
5/3/2020 Arduino Reference

E SOFTWARE EDUCATION PRO RESOURCES COMMUNITY HELP SIGN IN


Characters Random Numbers External Interrupts
isAlpha() random() attachInterrupt()
isAlphaNumeric() randomSeed() detachInterrupt()
isAscii()
isControl()
Bits and Bytes Interrupts
isDigit()
bit() interrupts()
isGraph()
bitClear() noInterrupts()
isHexadecimalDigit()
bitRead()
isLowerCase()
bitSet()
isPrintable() Communication
bitWrite()
isPunct() Serial
highByte()
isSpace() Stream
lowByte()
isUpperCase()
isWhitespace()
USB
Keyboard
Mouse

VARIABLES
Arduino data types and constants.

Constants Conversion
Floating Point Constants (unsigned int)
Integer Constants (unsigned long)
HIGH | LOW byte()
INPUT | OUTPUT | INPUT_PULLUP
char()
LED_BUILTIN float()
true | false int()
long()
word()

https://www.arduino.cc/reference/en/ 2/4
5/3/2020 Arduino Reference

E SOFTWARE EDUCATION PRO RESOURCES COMMUNITY HELP SIGN IN


Data Types Variable Scope & Qualifiers
String() const
array scope
bool static
boolean volatile
byte
char
Utilities
double
PROGMEM
float
sizeof()
int
long
short
size_t
string
unsigned char
unsigned int
unsigned long
void
word

STRUCTURE
The elements of Arduino (C++) code.

Sketch Control Structure Further Syntax


loop() break #define (define)
setup() continue #include (include)
do...while /* */ (block comm
else // (single line com
for ; (semicolon)
goto {} (curly braces)
if
return
switch...case
while

https://www.arduino.cc/reference/en/ 3/4
5/3/2020 Arduino Reference

E SOFTWARE EDUCATION PRO RESOURCES COMMUNITY HELP SIGN IN


Arithmetic Operators Boolean Operators Compound Operato
% (remainder) ! (logical not) %= (compound rem
* (multiplication) && (logical and) &= (compound bit
+ (addition) || (logical or) *= (compound mu
- (subtraction) ++ (increment)
/ (division) += (compound add
Pointer Access Operators
= (assignment operator) -- (decrement)
& (reference operator)
-= (compound sub
* (dereference operator)
/= (compound divi
Comparison Operators
^= (compound bit
!= (not equal to)
Bitwise Operators |= (compound bitw
< (less than)
& (bitwise and)
<= (less than or equal to)
<< (bitshift left)
== (equal to)
>> (bitshift right)
> (greater than)
^ (bitwise xor)
>= (greater than or equal to)
| (bitwise or)
~ (bitwise not)

NEWSLETTER

ENTER YOUR EMAIL TO SIGN UP SUBSCRIBE


Terms Of Service
Privacy Policy

Contact Us
About Us
Distributors
Careers
Security
© 2020 Arduino

https://www.arduino.cc/reference/en/ 4/4

You might also like