登录
首页 » c » 基于STM32F103的AM2322温湿度传感器

基于STM32F103的AM2322温湿度传感器

于 2022-01-22 发布 文件大小:1.04 kB
0 35
下载积分: 2 下载次数: 1

代码说明:

u8 AM2322_Check(void){u8 retry=0;  AM2322_IO_IN();delay_us(35);while((GPIO_ReadInputDataBit(GPIO_AM2322,IO_AM2322)==SET)&&retry200) return 1;//DHT11 ²»´æÔÚelse  retry=0;while((GPIO_ReadInputDataBit(GPIO_AM2322,IO_AM2322)==RESET)&&retry85) return 1;//DHT11 ²»´æÔÚelse  retry=0;return 0;// DHT11 ´æÔÚ}u8 AM2322_Read_Bit(void){u8 a=0;while((GPIO_ReadInputDataBit(GPIO_AM2322,IO_AM2322)==SET)&&a

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

发表评论

0 个回复

  • 发电机组的排序优化,实现节能发电
    只考虑火电机组,模型可用于煤耗和排放的综合考虑。-Achieve energy-efficient scheduling of power generation units to sort, only the thermal power unit, model can be used in coal consumption and emissions considered.
    2022-03-02 06:58:53下载
    积分:1
  • 利用C#编写的单纯形表的代码,用于线性规划。大家看看,讨论讨论...
    利用C#编写的单纯形表的代码,用于线性规划。大家看看,讨论讨论-Written using C# code for simplex tableau for linear programming. We take a look at, and discussing the
    2023-05-16 13:20:03下载
    积分:1
  • PID-NTC
    PID温度控制,用10K的NTC采样,温控精度为0.1(PID temperature control, with 10K of NTC sampling, temperature control accuracy of 0.1)
    2007-12-21 15:10:01下载
    积分:1
  • CS
    说明:  C#基恩士LKG3000利用DLL文件读取数据和配置设置的例案(C# Case Study of Keynes LKG3000 Using DLL File to Read Data and Configuration Settings)
    2018-11-22 15:00:35下载
    积分:1
  • 高精度求阶乘
    简单的高精度,适合初学者.利用数组存储每一位数字,模拟乘法运算。
    2023-02-13 16:30:03下载
    积分:1
  • ooh323c-0.8.3.tar
    Objective Systems Open H.323 for C (ooh323c) is a simple H.323 protocol stack developed in C. The ASN.1 PER messaging code was developed using the ASN1C compiler using a modified version of our core run-time libraries. Additional open source components as well as code developed in-house were added to produce a functioning stack.
    2007-07-24 15:08:54下载
    积分:1
  • CZT
    CZT变换进行信号频谱分析,解决了FFT法频域分辨不高的问题,源码开发,特别适用(Chirp Z Transform)
    2021-03-24 16:39:14下载
    积分:1
  • Turn
    GIS专业入门必修课-多边形左转算法,首先在屏幕上点取点,后连接三角形,最后自动形成多边形。(GIS professional entry courses- turn left polygon algorithm, the first check point on the screen points, after connecting the triangle, and finally form a polygon automatically.)
    2008-03-20 01:30:01下载
    积分:1
  • Msmq示例
    Msmq使用,有详细代码   连接消息队列并发送消息到队列,等等
    2022-02-03 01:42:17下载
    积分:1
  • geodetic
    gps geodetic convert for matlab
    2009-07-15 01:34:03下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 57今日下载