abstract.txt
来自「这是单片机C51典型应用设计代码」· 文本 代码 · 共 27 行
TXT
27 行
Digital to Analog Converter Example Program
===========================================
Project: DAC
Author: E. Healy
This example program shows how to configure and use the
D/A Converter of the following microcontroller:
* Philips P87LPC769
The program configures the D/A's and generates a sine wave
on the DAC0 channel and a sawtooth waveform on the DAC1 channel.
To watch the effect this program has on the D/A Converters:
1. Build the program (Project-Build Target)
2. Start the Debugger (Debug-Start/Stop Debug Session)
3. Open the D/A Converter Dialog Box (Peripherals D/A Converter)
4. Make sure View-Periodic Window Update is checked
5. Run the program and watch the D/A outputs change
When the program writes to DAC0 and DAC1 you will see the corresponding
registers change in the D/A Converter dialog.
礦ision3 users may enable the built-in Logic Analyzer to view
and measure the digital input and analog output signals graphically.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?