September 2020
Beginner
503 pages
11h 49m
English
In Chapter 14, we learned how to do basic digital input and output with an Arduino using its I/O pins. In this chapter, we will cover how to do analog input and output as well.
So far we have been focusing on digital input and output—HIGH and LOW states. The Arduino Uno also supports some amount of analog input (through its analog pins) and a sort of “faked” analog output (through its pulse-width modulation (PWM) pins, which will be covered in the next section).
On the Arduino Uno, the analog input pins are grouped together in a section ...