Mechatronics- Basics of arduino
Mechatronics- Basics of arduino
• Digital (7): Across from the analog pins are the digital pins
(0 through 13 on the UNO). These pins can be used for both
digital input (like telling if a button is pushed) and digital
output (like powering an LED).
• PWM (8): You may have noticed the tilde (~) next to some
of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These
pins act as normal digital pins, but can also be used for
something called Pulse-Width Modulation (PWM).
• AREF (9): Stands for Analog Reference. Most of the time
you can leave this pin alone. It is sometimes used to set an
external reference voltage (between 0 and 5 Volts) as the
upper limit for the analog input pins.
Reset Button