|
|||||||||||
|
Technical Support Support Resources
Product Information |
File Download AreaSilicon Labs C8051F310/311 A/D Example ProgramThis example program shows how to configure and use the 8-bit A/D Converter of the following microcontrollers:
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 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.
C8051F310_ADC.ZIP
(8.5K)
Wednesday, July 14, 2004 | ||||||||||
|
|||||||||||