Repo for ESP32 Weather Station Development
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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_ */