• 大小: 3.86MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-28
  • 语言: 其他
  • 标签: DHT11  STM32  3.5库  

资源简介

dht11使用例程,附带传感器使用说明,原理图。使用时只需做相应修改即可。

资源截图

代码片段和文件信息

#include “stm32f10x.h“
#include “dht11.h“
#include “delay.h“

u8 humtemp;

int main(void)

    u8 t = 0;
    DHT11_Init();
    while(1)
    {
        if(t%10 == 0)
        {
           DHT11_Read_Data (&temp&hum);
        }
        delay_ms(10);
        t++; 
    }   
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1354  2017-11-27 08:49  dht11例程\dht11\EVARM\stm32f10x_flash.icf

     文件       1422  2017-11-27 08:49  dht11例程\dht11\EVARM\stm32f10x_flash_extsram.icf

     文件       1355  2017-11-27 08:49  dht11例程\dht11\EVARM\stm32f10x_nor.icf

     文件       1354  2017-11-27 08:49  dht11例程\dht11\EVARM\stm32f10x_ram.icf

     文件      17273  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\CoreSupport\内核文件原\core_cm3.c

     文件      85714  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\CoreSupport\内核文件原\core_cm3.h

     文件      26297  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html

     文件      15766  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s

     文件      15503  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s

     文件      15692  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s

     文件      12376  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s

     文件      13656  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s

     文件      12765  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s

     文件      14073  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s

     文件      15955  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s

     文件      13072  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s

     文件      13160  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s

     文件      12482  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd_vl.s

     文件       9814  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s

     文件      10562  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s

     文件      10269  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s

     文件      11058  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s

     文件      13261  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_xl.s

     文件      16626  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s

     文件      16229  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd.s

     文件      15675  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd_vl.s

     文件      12650  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld.s

     文件      12950  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld_vl.s

     文件      13283  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_md.s

     文件      13601  2017-11-27 08:49  dht11例程\dht11\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_md_vl.s

............此处省略184个文件信息

评论

共有 条评论