文件名称:timer
介绍说明--下载内容来自于网络,使用问题请自行百度
这个代码中,我们用用计数器0来作为一个信号捕捉的端口。当在P3.4端口采集到下降沿的时候,会在数码管上加1.(P1.0连接到P3.4)在程序代码中,我们给了P1.0端口,进行 一个赋值,让它电平交替变化。每变化一次,数码管的值就会加1。-In this code, we use counter 0 as a signal to capture the port. When the P3.4 port to capture the falling edge of time, will increase in the digital control 1. (P1.0 connected to P3.4) In the program code, we give the P1.0 port, an assignment, it Level alternately. Each change, the value of the digital tube will be increased by 1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
timer.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
