Repo for ESP32 Weather Station Development
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
433B

  1. /*
  2. * sensors.h
  3. *
  4. * Created on: 20 Apr 2020
  5. * Author: Chris
  6. */
  7. #ifndef COMPONENTS_SENSORS_SENSORS_H_
  8. #define COMPONENTS_SENSORS_SENSORS_H_
  9. #include "bme280.h"
  10. #include "bme280_defs.h"
  11. #include "driver/i2c.h"
  12. void init_sensors();
  13. void read_sensor2(int32_t* temp, uint32_t* pressure, uint32_t* humidity);
  14. void read_sensor(int32_t* temp, uint32_t* pressure, uint32_t* humidity);
  15. #endif /* COMPONENTS_SENSORS_SENSORS_H_ */