1
0
Weather_ESP/components/sensors/sensors.h

20 lines
433 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"
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);
#endif /* COMPONENTS_SENSORS_SENSORS_H_ */