This chapter continues our look at the various hardware components of the ATmega328P. Some of them are not visible (“surfaced”) in the Arduino IDE or Language, so they may at first appear new to you, the Analog Comparator, for example.
The information in this and Chapter 8 should link up with what you have already seen in Chapters 2, 3, and 4, which covered the compilation process and the Arduino Language and classes.
9.1 Analog Comparator (AC)
The ATmega328P has a built-in device, called the Analog Comparator, which compares the input voltage ...