1
0
This repository has been archived on 2025-11-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
contaminus/hardware/include/MQ7v2.hpp

15 lines
188 B
C++

#include <Arduino.h>
#define MQ7_A0 34
#define MQ7_D0 35
#define R0 20000
#define RL 10000
struct MQ7Data_t
{
float co;
bool threshold;
};
void MQ7_Init();
MQ7Data_t MQ7_Read();