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

超声波51程序

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

代码说明:

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

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

发表评论

0 个回复

  • solidmysql-5.1.22-beta-0080
    Soliddb for MySQL 是 solidbase 公司开发的一个针对MySQL的存储引擎,这是一个基于内存的存储引擎,速度很快。 solidmysql-5.1.22-beta-0080(Soliddb for MySQL is solidbase developed a storage engine for MySQL, which is a memory-based storage engine, very fast. solidmysql-5.1.22-beta-0080)
    2008-06-12 15:38:28下载
    积分:1
  • road
    道路识别程序,包括图像预处理算法、霍夫变换和道路边界线检测(Road recognition procedures, including image preprocessing algorithm, Hough transform line detection and road borders)
    2021-03-26 19:49:12下载
    积分:1
  • VC_FFT
    傅里叶变换:采用VC++编写,实现二维图像的傅里叶变换(Fourier Transform: The VC++ prepared to achieve the two-dimensional Fourier transform of the image)
    2021-02-13 22:29:49下载
    积分:1
  • Nqueen
    n皇后问题构造法实现,比起启发式修补运行时间较长。(n Queen realize the issue of construction method, compared to a longer run-time heuristic repair.)
    2008-05-16 12:45:32下载
    积分:1
  • YX65491-MPU6050陀螺仪加速度-190517
    说明:  By using ADC resources in STM32F407, a simple version oscilloscope is developed, which can recognize and draw waveforms, display frequency, amplitude and other elements, and adjust time, VPP level, etc. The code is easy to read.
    2020-06-21 10:00:02下载
    积分:1
  • vcvcgisProjection
    用visual c++实现地理信息系统中常用的投影,公式比较全(With visual c++ to achieve geographic information systems used in the projection, compared the whole formula)
    2009-04-29 15:21:43下载
    积分:1
  • Matlabquanch
    MATLAB的全部实例,如何运用Matlab以及Matlab的基础的语法,单词(All instances of MATLAB, how to use Matlab and the Matlab-based grammar, word)
    2011-10-25 14:30:08下载
    积分:1
  • GM三件套
    说明:  DNF私服通用GM工具,可以自己搭建私服使用或者找公益服(General GM tools for dnf private service)
    2020-03-11 02:36:52下载
    积分:1
  • 刷屏走迷宫
    本程序为迷宫路径探测,自动寻找出路并将已走过的死路标记,同时将路径与栈中坐标实时显示。并且拥有改变颜色,读取文件,设置中日英三种语言,充值等多种功能,本人刚接触数据结构不久,学艺不精,各位且档消遣看看笑笑就好。
    2023-03-11 21:05:03下载
    积分:1
  • USART_ADC12
    说明:  MSP430F149串口行实验程序 //使用ADC12采集实验,将采集到数据送向PC.(序列单次采集,采用定时器A作为时钟源) //P3.4为发送,P3.5为接收 晶体使32768HZ/8MHZ. 串行波特率B/S //使用SMCLK作为波特率发器时,不能使用LPM2,LPM3!(MSP430F149 serial line experimental procedure// using the ADC12 collection experiments, collected data will be sent to the PC. (Sequence of a single collection, the use of Timer A clock source as)// P3.4 is sent, P3.5 to receive crystal so that 32768HZ/8MHZ. serial baud rate B/S// use as a baud rate SMCLK fat when they can not use LPM2, LPM3!)
    2008-09-16 12:33:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载