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