- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 18.63kb
- Update:
- 2008-10-13
- Downloads:
- 0 Times
- Uploaded by:
- moyanqd
Description: This example shows how to program configur e and use the A/D Converter of the following MICR ocontroller : STMicroelectronics ST10F166 After configuri ng the A/D, the program reads the A/D and outputs the result converted value using the serial port. To run th Build program ... is the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Wind ow (View Menu, Serial Window# 1) View the A/D converter Periph General (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channel s. As the program runs, you will see the A/D input and output change. Oth er buttons create signals that generate sine wa ve or sawtooth patterns as anal
To Search:
File list (Check if you may need any files):