
This example program shows how to configure and use the 8-bit A/D Converter of the following microcontrollers:
This program reads all available ADC channels, and stores the converted values in an array. You may view the data from the first two channels in the pre-configured logic analyzer widow.
To run this program...
A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change.
Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µVision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
Download File