首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > ASP > 设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。 分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0....

设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。 分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0....

  • 资源大小:5.04 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: SCM c++

资 源 简 介

设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。 分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0.3秒。对于LED发光管,只用一个IO就可以控制了(例如使用IOA0);而对于0.3秒定时,我们可以利用TimerA定时器轻易地实现。-The design process of a LED to LED blinking 0.6 seconds for the cycle, that is, every 0.3 seconds LED lit or extinguished once. Analysis of the subject requirements, mainly related to two aspects of the operation, that is, control LED LED light out as well as the timing of 0.3 seconds. The LED light-emitting tube, only one can control the IO (such as the use of IOA0) and for 0.3 seconds from time to time, we can use to easily achieve TimerA timer.

文 件 列 表

8.4 Timer
main.c
Makefile
Resource.asm
Resource.inc
Timer.env
Timer.h
Timer.lik
Timer.opt
Timer.rc
Timer.set
Timer.spj
Debug
Device.env
8.4 Timer
VIP VIP
0.161116s