登录
首页 » c » source code for DHT22 Digital temperature and humidity sensor.

source code for DHT22 Digital temperature and humidity sensor.

于 2022-05-27 发布 文件大小:2.62 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

此代码属于DHT22数字湿度和温度传感器。用一根电线就可以了接口.库是为stm32编写的,但可以用于任何微控制器。为了使用此传感器,我们使用了1个GPIO引脚和1个16位计时器。第一步是:在DhtConfig和DhtADir函数中配置GPIO和计时器。然后利用DhtReading函数,可以读出16位串行温度和16位串行湿度以及8位校验和。利用TemperatureCalculate函数,读出的数据可以转换为温度和湿度的浮动值。

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

发表评论

0 个回复

  • reactor
    C network reactor modal. use linux epoll. callback notify event.
    2013-11-28 12:18:34下载
    积分:1
  • simulink
    同步电机仿真,直接转矩控制,matlab仿真(Simulation of synchronous motor, direct torque control, matlab simulation)
    2010-06-02 00:20:52下载
    积分:1
  • RAW图像查看和解码软件
    图像解码软件,支持各系列单反,手机RAW格式图像解码
    2022-02-06 09:52:50下载
    积分:1
  • rainflow
    雨流计数法编程处理,数据压缩,matlab绘图,excelshuju chuli (rainflow rainflow rainflow rainflow )
    2016-05-12 16:23:28下载
    积分:1
  • 04LargeWANLabManual
    opnet software fo simulation network
    2009-05-08 16:58:47下载
    积分:1
  • abrf_v1_0
    晶体生长的Monte Carlo 模拟,晶体生长的Monte Carlo 模拟晶体生长的Monte Carlo 模拟(Crystal Growth of the Monte Carlo simulation, crystal growth of the Monte Carlo simulation of crystal growth of the Monte Carlo simulation)
    2020-07-08 16:08:56下载
    积分:1
  • palindrome
    用C++语言判断一串字符串是否回文,希望广大吧友支持(Determine whether the string with C++ language palindrome string of hope that the majority support it Friends)
    2013-12-14 13:02:28下载
    积分:1
  • 1_lab
    analogue to digital conventer for windows
    2018-06-17 19:44:42下载
    积分:1
  • C#Excel制表封装类
    C#Excel制表封装类,包括打开excel,添加页签,关闭Excel,并关闭自己打开的进程
    2022-12-23 19:50:03下载
    积分:1
  • dataLINKES
    说明:  此程序实现了数据结构中链对的建立,插入,删除,排序等操作。(data reverse establish)
    2011-03-23 21:40:56下载
    积分:1
  • 696518资源总数
  • 106174会员总数
  • 31今日下载