1
0
Weather_ESP/components/sensors/sensors.h

22 lines
479 B
C
Raw Normal View History

/*
* sensors.h
*
* Created on: 20 Apr 2020
* Author: Chris
*/
#ifndef COMPONENTS_SENSORS_SENSORS_H_
#define COMPONENTS_SENSORS_SENSORS_H_
#include "bme280.h"
#include "bme280_defs.h"
#include "driver/i2c.h"
2021-02-11 00:30:36 +01:00
#include "math.h"
void init_sensors();
void read_sensor2(int32_t* temp, uint32_t* pressure, uint32_t* humidity);
void read_sensor(int32_t* temp, uint32_t* pressure, uint32_t* humidity);
2021-02-11 00:30:36 +01:00
double read_light_sensor();
#endif /* COMPONENTS_SENSORS_SENSORS_H_ */