| ||||||||
Technical Support Support Resources Product Information | STMicroelectronics ST10F168 A/D Example ProgramThis 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 and output change. Another button runs a signal function that generates a sine wave on analog input 0. µVision3 users may click on the Logic Analyzer tab to view, measure and compare the analog input and output signals graphically. ST10F168_ADC.ZIP (20K) Wednesday, July 14, 2004 | |||||||
| ||||||||