abstract.txt
来自「F020单片机各模块代码实例」· 文本 代码 · 共 30 行
TXT
30 行
Digital to Analog Converter Example Program
===========================================
Project: DAC
Author: K. Bernhardt
This example program shows how to configure and use the
D/A Converter of the following microcontrollers:
* Silicon Laboratories, Inc. C8051F020
* Silicon Laboratories, Inc. C8051F021
* Silicon Laboratories, Inc. C8051F022
* Silicon Laboratories, Inc. C8051F023
This program generates a sine wave as an analog output
of the DAC. The digital values that create the sine wave
are submitted to the converter for every tick of the
built-in timer.
To run this program...
1. Select the device from the pull-down target list
2. Build the project (Project - Build Target)
3. Start the uVision Debugger
4. Click Go or Run (F5)
5. View the Analog Output values in the D/A Converter
Peripheral Dialog.
礦ision3 users may enable the built-in Logic Analyzer to view
and measure the resulting analog signal graphically.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?