![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
传感器驱动
文章平均质量分 55
Haiguozhe
这个作者很懒,什么都没留下…
展开
-
SHT2x
【代码】SHT2x。原创 2023-02-27 09:20:06 · 193 阅读 · 0 评论 -
SHT3X
【代码】SHT3X。原创 2023-02-27 09:16:36 · 216 阅读 · 0 评论 -
SHT4x
【代码】SHT4x。原创 2023-02-27 09:10:32 · 563 阅读 · 0 评论 -
STM32驱动DS1302,数据端口配置为开漏输出,需要外部加上拉电阻
#ifndef DS1302_CFG_H_#define DS1302_CFG_H_//////////////////////////////////////////////////////////////////////////////////////#ifdef __cplusplusextern "C" {#endif //////////////////////////...原创 2019-07-28 21:52:43 · 2452 阅读 · 1 评论 -
STM32驱动DHT11,配置端口为开楼输出模式
//---定义结构体typedefstruct_DHT11_HandlerType DHT11_HandlerType;//---定义指针结构体typedefstruct_DHT11_HandlerType *pDHT11_HandlerType;//---定义struct_DHT11_HandlerType{ UINT16_T msgWenDu; ...原创 2018-06-10 12:07:12 · 2365 阅读 · 1 评论 -
STM32驱动PCF8563,使用模拟IIC
#ifndefPCF8563_CFG_H#definePCF8563_CFG_H////////////////////////////////////////////////////////////////////////////////////////------------使用包含的头文件#include"i2c_task.h"#ifdefUSE_MCU_STM32 #i...原创 2018-06-10 12:15:25 · 8350 阅读 · 2 评论 -
STM32 IIC驱动OLED
#ifndef OLED_CFG_H_#define OLED_CFG_H_//////////////////////////////////////////////////////////////////////////////////////#ifdef __cplusplusextern "C" {#endif //////////////////////////////...原创 2019-07-28 21:55:16 · 2287 阅读 · 1 评论 -
STM32 驱动SPI接口的W25Qxx系列的串行Flash
#ifndef W25QXX_CFG_H_#define W25QXX_CFG_H_//////////////////////////////////////////////////////////////////////////////////////#ifdef __cplusplusextern "C" {#endif //////////////////////////...原创 2019-07-28 21:59:23 · 1832 阅读 · 1 评论 -
STM32使能IIC驱动电流检测芯片INA226
#ifndef INA226_CFG_H_#define INA226_CFG_H_//////////////////////////////////////////////////////////////////////////////////////#ifdef __cplusplusextern "C" {#endif //////////////////////////...原创 2019-09-23 21:26:04 · 13169 阅读 · 1 评论 -
SI5351A的信号发生器驱动程序
IIC驱动部分请自己编写;该驱动程序是验证通过的。#include "si5351a_cfg.h"//===变量定义SI5351A_HandlerType g_SI5351ADevice0={0};pSI5351A_HandlerType pSI5351ADevice0=&g_SI5351ADevice0;////////////////////////////...原创 2019-12-18 17:21:30 · 6018 阅读 · 0 评论 -
STM32驱动DS18B20,数据的计算都是通过放大转换成整数计算的
#ifndef DS18B20_CFG_H_#define DS18B20_CFG_H_//////////////////////////////////////////////////////////////////////////////////////#ifdef __cplusplusextern "C" {#endif ////////////////////////...原创 2019-07-28 21:57:46 · 489 阅读 · 1 评论