-
AM23XX温湿度传感器库函数
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
- 2022-12-29 14:30:03下载
- 积分:1
-
2410开发测试程序,包含了2410系统的各个功能测试,ads工程测试通过...
2410开发测试程序,包含了2410系统的各个功能测试,ads工程测试通过-2410 development and testing procedures, including the 2410 system functional testing, the test works ads
- 2022-07-20 23:56:39下载
- 积分:1
-
with A/D and PC keyboard control DC motor and stepper motor rotation
用A/D和PC键盘控制直流电机和步进电机的转动-with A/D and PC keyboard control DC motor and stepper motor rotation
- 2022-06-22 05:39:40下载
- 积分:1
-
ILI9320驱动程序
资源描述/* Includes ------------------------------------------------------------------*/
#include "ili9320.h"
#include "stm32f10x_lib.h"
#include "hardware.h"
#define jiedi_red_on {ili9320_Clear(BROWN);}
#define jiedi_green_on {ili9320_Clear(BROWN);}
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
static vu32 TimingDelay = 0;
GPIO_InitTypeDef GPIO_InitStructure;
ErrorStatus HSEStartUpStatus;
extern u8 gImage_11[];
/* Private function prototypes -----------------------------------------------*/
void RCC_Configuration(void);
void Int
- 2022-01-27 23:30:59下载
- 积分:1
-
对于ARM和# 174建筑过程调用标准
Procedure Call Standard for the ARM® Architecture-Procedure Call Standard for the ARM® Architecture
- 2022-07-06 08:56:05下载
- 积分:1
-
how 44B0 development board ARMSYS on NFS
如何在基于NFS的开发环境下开发ARMSYS的44B0开发板
- 2022-03-22 08:44:12下载
- 积分:1
-
GPU编程教程,目前国内好的唯一的中文教程。
GPU编程教程,目前国内好的唯一的中文教程。-GPU programming tutorials, the only Chinese domestic good tutorial.
- 2022-03-24 16:24:34下载
- 积分:1
-
stm32红外遥控
应用背景红外遥控的编码目前 红外遥控的编码目前 红外遥控的编码目前 红外遥控的编码目前 广泛使用的是: 广泛使用的是: 广泛使用的是: NEC Protocol 的PWM(脉冲宽度调制)和Philips
RC-5 Protocol 的PPM(脉冲位置调制)。ALIENTEK战舰STM32开发板配套的遥控器使用的是NEC协议,其特征如下:
1、8位地址和8位指令长度;
2、地址和命令2次传输(确保可靠性)
3、PWM脉冲位置调制,以发射红外载波的占空比代表“0”和“1”;
4、载波频率为38Khz;
5、位时间为1.125ms或2.25ms;关键技术本实验采用定时器的输入捕获功能现红外解码, :开机在LCD上显示一些信息之后,即进入等待红外触发,如过接收到正确的红外信号,则解码,并在LCD上显示键值和所代表的意义,以及按键次数等信息。同样我们也是用LED0来指示程序正在运行。
- 2022-04-02 00:36:10下载
- 积分:1
-
清华大学自动化系ARM培训教材,讲的比较全,各个方面都涉及到了。...
清华大学自动化系ARM培训教材,讲的比较全,各个方面都涉及到了。-Department of Automation, Tsinghua University, ARM training materials, stresses the Comparison of the whole, all aspects involved.
- 2022-10-01 21:30:04下载
- 积分:1
-
2407pcb territory for a certain level of development of the people! This map mea...
2407pcb版图,对于有一定开发水平的人!此版图很有意义!-2407pcb territory for a certain level of development of the people! This map meaningful!
- 2022-03-20 18:12:03下载
- 积分:1