当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 1

夜风/B-LUX-V30B
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
B_LUX_V30.h 540 Bytes
一键复制 编辑 原始数据 按行查看 历史
夜风 提交于 2017-09-25 08:50 . Upload B_LUX_V30.cpp B_LUX_V30.h
#ifndef B_LUX_V30_h
#define B_LUX_V30_h
#if ARDUINO < 100
#include <WProgram.h>
#else
#include <Arduino.h>
#endif
#define DHT_LIB_VERSION "0.1.01"
#define B_LUX_SlaveAddress 0x94
class B_LUX_V30
{
public:
float read();
B_LUX_V30(uint8_t _sda, uint8_t _scl);
private:
uint8_t B_LUX_RecvByte();
void B_LUX_SendByte(uint8_t dat);
void B_LUX_SendACK(uint8_t ack);
void B_LUX_Start();
void B_LUX_Stop();
uint8_t BUF_0[6];
uint32_t val32;
uint8_t SDA;
uint8_t SCL;
};
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Arduino
1
https://gitee.com/dlanny/B-LUX-V30B.git
git@gitee.com:dlanny/B-LUX-V30B.git
dlanny
B-LUX-V30B
B-LUX-V30B
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891