ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
bme280_i2c.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome::bme280_i2c {
7
8static const char *const TAG = "bme280_i2c.sensor";
9
11 bool read_byte(uint8_t a_register, uint8_t *data) override;
12 bool write_byte(uint8_t a_register, uint8_t data) override;
13 bool read_bytes(uint8_t a_register, uint8_t *data, size_t len) override;
14 bool read_byte_16(uint8_t a_register, uint16_t *data) override;
15 void dump_config() override;
16};
17
18} // namespace esphome::bme280_i2c
This class implements support for the BME280 Temperature+Pressure+Humidity sensor.
Definition bme280_base.h:59
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:132
const void size_t len
Definition hal.h:64