⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstract.txt

📁 F020单片机各模块代码实例
💻 TXT
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -