ESPHome  2024.11.1
bme280_i2c.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace esphome {
7 namespace bme280_i2c {
8 
9 static const char *const TAG = "bme280_i2c.sensor";
10 
12  bool read_byte(uint8_t a_register, uint8_t *data) override;
13  bool write_byte(uint8_t a_register, uint8_t data) override;
14  bool read_bytes(uint8_t a_register, uint8_t *data, size_t len) override;
15  bool read_byte_16(uint8_t a_register, uint16_t *data) override;
16  void dump_config() override;
17 };
18 
19 } // namespace bme280_i2c
20 } // namespace esphome
std::string size_t len
Definition: helpers.h:293
This class implements support for the BME280 Temperature+Pressure+Humidity sensor.
Definition: bme280_base.h:60
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133