© Norman Dunbar 2024
N. DunbarArduino Software InternalsMaker Innovations Serieshttps://doi.org/10.1007/979-8-8688-0171-6_9

9. ATmega328P Hardware—AC, ADC, and USART

Norman Dunbar1  
(1)
Rawdon, West Yorkshire, UK
 

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 ...

Get Arduino Software Internals: A Complete Guide to How Your Arduino Language and Hardware Work Together now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.