Introduction to Python and Microcontrollers

Class ADC

Before each use of the ADC module, add the statement from machine import ADC to the top of the Python file.

Adapted from Python_Tutorial.pdf — Chapter 9, AD Converter