登录
首页 » c » 超声波51程序

超声波51程序

于 2022-02-21 发布 文件大小:2.18 kB
0 45
下载积分: 2 下载次数: 1

代码说明:

51的超声波程序,改一下IO口就能用,超声波模块是HC-SR04,控制口发一个10US 以上的高电平,就可以在接收口等待高电平输出. 一有输出就可以开定时器计时,当此口变为低电平时就可以读定时器的值,此时就为此次测 距的时间,方可算出距离.如此不断的周期测,就可以达到你移动测量的值了。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • P+F r2000 sample
    R2000-UHD demo
    2020-02-20下载
    积分:1
  • C#简单游戏键盘外挂
    C#简单游戏键盘外挂
    2013-10-31下载
    积分:1
  • 36.815
    LTE--A最新标准815系列,对于研究LTE-A系统非常有用(LTE- A New Standard 815 series, for the study of LTE-A system is useful)
    2010-05-09 12:19:26下载
    积分:1
  • cccc
    输入两个正整数m和n,求其最大公约数和最小公倍数(Enter two positive integers m and n, can seek the common denominator and least common multiple)
    2010-05-11 21:19:20下载
    积分:1
  • 会议系统亲测可以用
    会议系统,采用标准三层架构方式,亲测可部署安装,功能简单适合初学者,
    2022-03-11 13:07:18下载
    积分:1
  • EITHT
    mATLAB教程第六章案例,时间变动序列(mATLAB Tutorial Chapter VI case, the time sequence changes)
    2013-07-20 10:01:58下载
    积分:1
  • 由于在单道批处理系统中,作业一投入运行,它就占有计算机的一切资源直到作业完成为止,因此调度作业时不必考虑它所需要的资源是否得到满足,它所占用的CPU时限等因素。...
    由于在单道批处理系统中,作业一投入运行,它就占有计算机的一切资源直到作业完成为止,因此调度作业时不必考虑它所需要的资源是否得到满足,它所占用的CPU时限等因素。 每个作业由一个作业控制块JCB表示,JCB包括如下信息:作业名、提交时刻、所需运行时间、所需资源、作业状态、链指针等。 在程序开始时对用户提交的作业按作业调度算法排列,用链表形式存储,这里分别采用先来先服务、短作业、响应比高者优先调度算法对作业进行调度。这里为了操作者的方便,每个作业无论所需运行时间多少,都是每敲一次键盘就执行完一个作业。每个作业完成后打印作业的开始运行时刻,完成时刻,周转时间和带权周转时间,一组作业完成后打印这组作业的平均周转时间,带权周转时间。所以要在运行时对运行时间进行记录,这里设置几个全局变量:T时间量; ttime总周转时间; trtime总的带权周转时间。-Road due to the single-batch system, and put into operation an operation, it has all the resources of the computer until the operation is completed, the dispatch operation when it"s not necessary to consider whether the resources needed to be met, it occupied by the CPU time and other factors. Each operation by operating a control block JCB, JCB include the following information : operations, and submitted moment, the run time, the resources required, operational state, chain pointer. At the beginning of the procedure to users of operations by scheduling algorithm with using forms Chain store, were used here fir
    2022-03-15 10:50:46下载
    积分:1
  • 111111
    酒店用的嵌入式无线点餐系统,通过无线发送,实现快速点餐(Hotels with meal points embedded wireless systems, wireless transmission, to achieve quick meal)
    2009-04-12 15:48:33下载
    积分:1
  • tank-win32-beta1-r42
    battle city tank 1990 vietnam C# easy mode
    2014-02-25 16:58:27下载
    积分:1
  • OCFreaks.com_LPC214x_UART_Tutorial_Example_1
    Embedded C PROGRAM for LPC2138 UART source code,Tested on LPC2138 development board
    2015-12-10 01:13:56下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载