登录
首页 » 嵌入式芯片 » AM23XX温湿度传感器库函数

AM23XX温湿度传感器库函数

于 2022-12-29 发布 文件大小:23.46 kB
0 98
下载积分: 2 下载次数: 1

代码说明:

51单片机温湿度传感器库函数#include "reg52.h"#include //用户根据自己的晶振修改相应值#define FOSC  12000000#define BAUD  9600 //读传感器 端口位定义,可修改sbit Sensor_SDA = P0^0;sbit Sensor_SCL = P0^1;// 变量定义unsigned char Sensor_Data[5]={0x00,0x00,0x00,0x00,0x00};unsigned char Sensor_Check;  //校验和unsigned char Sensor_AnswerFlag;  //收到起始标志位unsigned char Sensor_ErrorFlag;   //读取传感器错误标志unsigned int  Sys_CNT;unsigned int  Tmp;unsigned char *String;//字符串定义#define S_Temp "Temp:"#define S_RH   "RH:"#define S_CRCT "Check: True"#define S_CRCF "Check: Wrong"#define S_Data "Data: "#define S_NotS "Sens

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

发表评论

0 个回复

  • 这是关于fpga为控制的硬件设计资料,可以了解到fpga设计的特点...
    这是关于fpga为控制芯片的硬件设计资料,可以了解到fpga设计的特点-they simply this is for the control of the hardware chip design information, we can see that they simply design features
    2022-11-14 15:30:04下载
    积分:1
  • 直流电机ARM程序
    针对ARM嵌入式系统的直流电机实验程序通过这个程序能了解步进电机的运行控制;了解步进电机运行速度的控制方法;了解步进电机运行方向的控制方法。
    2023-03-11 00:20:03下载
    积分:1
  • 实现了跳过at91rm9200dk的loader直接使用uboot来引导我们的linux系统。
    实现了跳过at91rm9200dk的loader直接使用uboot来引导我们的linux系统。-Skip at91rm9200dk realize the direct use of the loader to guide uboot our linux systems.
    2022-01-25 19:15:46下载
    积分:1
  • 启动二进制ARM9
    boot binaries for arm9
    2023-03-11 21:40:04下载
    积分:1
  • 这是周立功公司的ZLG GUI源代码,你只要简单的实现几个底层的LCD基本命令和读写操作就可以移植到你的51,AVR,ARM7,ARM9上,GUI类似微软窗口,...
    这是周立功公司的ZLG GUI源代码,你只要简单的实现几个底层的LCD基本命令和读写操作就可以移植到你的51,AVR,ARM7,ARM9上,GUI类似微软窗口,基于消息的,内附文档说明,开发简单。-This is the week Ligong ZLG GUI s source code, you need to do is simple to achieve a few basic commands the bottom of the LCD and to read and write operation can be transplanted to your 51, AVR, ARM7, ARM9 on, GUI similar to Microsoft Windows, based on the information attached document explains the development of simple.
    2022-09-10 02:20:03下载
    积分:1
  • rrerrertreyryry
    最常请求的资源来自 ARM 的大学程序之一是本科文本 (第二或第三年),包括大会和硬件的基础。为方便教学的手臂,新教材已写,包括 ARM7TDMI 的程序集、 表、 分数运算,基础知识混合 C 和程序集、 子程序和内存映射的外围设备的讨论。它还包括版本 4T 建筑参考手册的一部分,并使用免费的 Keil 软件工具,可以模拟不仅 ARM 处理器,而且整个微控制器。学生可以要么学习在他们自己的步伐或使用文本部分当然产品。从手臂的大学程序最常请求的资源之一是本科文本 (第二或第三年),包括大会和硬件的基础。为方便教学的手臂,新教材已写,包括 ARM7TDMI 的程序集、 表、 分数运算,基础知识混合 C 和程序集、 子程序和内存映射的外围设备的讨论。它还包括版本 4T 建筑参考手册的一部分,并使用免费的 Keil 软件工具,可以模拟不仅 ARM 处理器,而且整个微控制器。学生可以在他们自己的节奏学习,或者使用提供的课程的部分文本。
    2022-01-25 23:04:05下载
    积分:1
  • 热敏打印机开发例程NuMicro(TM) NUC505 80mm Thermal Printer Software Package V1.0
    This solution is an 80mm thermal printer printer that employs IPI 800932 print heads and an automatic paper cutter.  This printer has a wide range of applications and can be used to print various receipts and invoices for POS systems,  cashiers, and ATM.This solution utilizes the NUC505 series and is capable of reaching a printing speed of 150mm per  second. It supports multiple transmission methods, including Bluetooth, serial ports, network ports, USB printer class,  and so on, and supports Ethernet data communication and data transmission. This solution is also furnished with  out-of-paper detection and overheating protection circuits.  This file includes the PC software and source code of 80mm Thermal Printer. File Path: PC software: SW_NUC505_80mm_Thermal_Printer_V1.0PC Software
    2022-09-10 20:05:04下载
    积分:1
  • Their own to do a package of MSP430 pin 1
    一份自己做的MSP430 的封装 管脚1-Their own to do a package of MSP430 pin 1
    2022-02-05 13:58:02下载
    积分:1
  • 长的ARM9 FS2410
    优龙的ARM9 FS2410开发板原码,含大量测试程序!如LCD,TOUCH SCREEN,IIC,IIS,KEY,RTC,UART都有了。极有参考学习价值,推荐下载!-Long ARM9 FS2410-source development board, with a large number of test procedures! As LCD, TOUCH SCREEN, IIC, IIS, KEY, RTC, UART have everything. Most reference value of learning, to download!
    2023-07-18 08:20:03下载
    积分:1
  • Development board in the bare board s3c2440 simulation soft interrupt handling p...
    在s3c2440开发板裸板上模拟软中断处理程序,处理程序中是对LED灯的控制。-Development board in the bare board s3c2440 simulation soft interrupt handling procedures, the processing procedure is the control of LED lights.
    2022-09-19 23:10:03下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载