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

📄 abstract.txt

📁 下载说明: 本光盘的所有代码均在Keil C51 7.0以上版本编译通过。读者的电脑只需要 能够运行Windows 98 以上版本的操作系统、并能够安装Keil C51 7.0以上版本
💻 TXT
字号:
Pulse Width Measurement Example Program
=======================================
This example program shows how to compute the width of a pulse
using timer0 in mode 1.  Port 3.2 is used as an external gate
for the timer.  An interrupt is used to accumulate timer overflow.
The width of each pulse is output to the serial port.


To test this program...
-----------------------
1. Start the debugger.
2. View the Serial window.
3. View the Toolbox.
4. Run the program.
5. Click a pulse button to generate a pulse on P3.2.


The width of the pulse generated displays in the serial window
each time you repeat this process.


Be sure to check the debug.ini file to see how the debugger
buttons are created.  A signal function is used to generate
pulses.


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -