Difference between revisions of "Arduino"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | == | + | == Arduino Language == |
* [https://www.arduino.cc/reference/en/ Arduino language reference] | * [https://www.arduino.cc/reference/en/ Arduino language reference] | ||
+ | * <code>analogRead()</code> - [https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ analogRead docs] | ||
+ | ** 0-4095 for 12 bits | ||
+ | ** On ATmega based boards (UNO, Nano, Mini, Mega), it takes about 100 microseconds (0.0001 s) to read an analog input, so the maximum reading rate is about 10,000 times a second. | ||
+ | * <code>analogWrite()</code> - [https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/ AnalogWrite docs] | ||
+ | * <code>analogWriteResolution()</code> - [https://www.arduino.cc/reference/en/language/functions/zero-due-mkr-family/analogwriteresolution/ analogWriteResolution docs] | ||
− | == | + | == Microcontroller concepts == |
* SPI bus | * SPI bus | ||
* Digital IO/PWM | * Digital IO/PWM |
Revision as of 20:30, 10 February 2021
Arduino Language
- Arduino language reference
analogRead()
- analogRead docs- 0-4095 for 12 bits
- On ATmega based boards (UNO, Nano, Mini, Mega), it takes about 100 microseconds (0.0001 s) to read an analog input, so the maximum reading rate is about 10,000 times a second.
analogWrite()
- AnalogWrite docsanalogWriteResolution()
- analogWriteResolution docs
Microcontroller concepts
- SPI bus
- Digital IO/PWM
- UART
- Serial Terminal Basics
Libraries
- Adafruit GFX library
- MCUfriend kbv shield
- Installing libraries
- Arduino Libraries guide]
- Arduino Library reference
Arduino Mega 2560
- ATmega2560 Microcontroller specs - 8-bit processor