Repo for ESP32 Weather Station Development
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20 строки
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_ */