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

超声波51程序

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

代码说明:

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

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

发表评论

0 个回复

  • 1
    说明:  In c++ risks is a reference to a variable which exists i.e. one 2nd name for the same variable. This program is broken up into functions.露the function hand constitutes the entrance point of the program, firstly there is the function message which us affiche hello , and the second function produced 露procedure affich_calcul, one declared the prototype and one it definite after one made the call has this function.
    2009-03-31 00:40:15下载
    积分:1
  • 梯形求积分
    说明:  C语言梯形积分,通过公式计算积分,可以用来代替matkab的函数(Trapezoid integral in C language)
    2021-03-31 11:39:09下载
    积分:1
  • 3518056
    实时连续显示柱状图,对需要信号频谱显示的有很好的参考作用()
    2018-03-28 21:36:02下载
    积分:1
  • linux SPI 测试代码
    linux 下SPI驱动调用及SPI配置, SPI数据传输的使用方法
    2022-06-15 04:47:25下载
    积分:1
  • STM32串口实验
    一个基于STM32的HC08蓝牙模块的应用(This is a simple code.)
    2020-11-12 22:09:44下载
    积分:1
  • Hilgraeve-HyperTerm-5.0
    full source to hilgraeve HyperTerm 5.0 that is shipped with windows
    2021-04-23 14:08:48下载
    积分:1
  • GUI.H
    GUI用户界面用来显示电路波形,即示波器,STM32编程实现(STM32 and GUI for application to show electronic waves accounting for testing the circuits.)
    2014-05-03 15:26:27下载
    积分:1
  • WIFI代码
    基于WiFi的温湿度监测与显示,(1)主控芯片采用STM32系列单片机、数字温湿度度传感器DHT11、WiFi模块ATK-ESP8266; (2)通过数字温湿度度传感器DHT11采集数据; (3)将数据通过WiFi模块在电脑上进行显示。(Temperature and humidity acquisition)
    2020-12-10 09:09:20下载
    积分:1
  • 坐标曲线绘制(基于QChart)
    【实例简介】
    2021-08-04 00:31:09下载
    积分:1
  • ason
    此程序为ns2仿真的ason网络,光网络的传输技术在近十几年得到飞速的发展,波分复用(WDM)技术能够让一根光纤承载以百计甚至以千计的波长,而且单个波长能够承载的带宽也在迅速增加。(ASON simulation)
    2009-07-10 14:01:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载