Infineon XC161CJ A/D Example Program
This example program shows how to configure and use the A/D Converter of the following microcontroller:
After configuring the A/D Converter, the program reads A/D channel 0 and outputs the converted value using the serial port.
To run this program...
A debug script (debug.ini) creates buttons that set different analog values in each A/D channel. As the program runs, you will see the A/D input change.
Another button runs a signal function that generates a sine wave on analog input 0. µVision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
Thursday, July 15, 2004
of your data.