px-lib  0.9.2
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers

How to configure and use one channel of the ADC converter in a polled fashion.


The analog voltage of ADC0 is measured once a second and reported via UART at 115200 BAUD, 8 Data Bits, No Parity and 1 Stop Bit. A voltage from +0V to +3.3V may be applied.