In the current state all the timings work flawlessly but MQ is still 0.0f and GPS is not read
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
#define ADC_RES 1023.0
|
||||
#define RL 10000.0 // 10kΩ
|
||||
#define RO 10000.0 // Resistencia del aire limpio
|
||||
#define RELAY_CONTROL_PIN 2
|
||||
#define MAX_SAMPLES 90
|
||||
|
||||
enum MQ7State_t
|
||||
{
|
||||
HEATING, SAMPLING
|
||||
};
|
||||
|
||||
struct MQ7Data_t
|
||||
{
|
||||
@@ -12,4 +19,5 @@ struct MQ7Data_t
|
||||
};
|
||||
|
||||
void MQ7_Init();
|
||||
bool MQ7_Update();
|
||||
MQ7Data_t MQ7_Read();
|
||||
Reference in New Issue
Block a user