6 #include "../bme280_base/bme280_base.h" 11 bool BME280I2CComponent::read_byte(uint8_t a_register, uint8_t *data) {
12 return I2CDevice::read_byte(a_register, data);
14 bool BME280I2CComponent::write_byte(uint8_t a_register, uint8_t data) {
15 return I2CDevice::write_byte(a_register, data);
17 bool BME280I2CComponent::read_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
18 return I2CDevice::read_bytes(a_register, data, len);
20 bool BME280I2CComponent::read_byte_16(uint8_t a_register, uint16_t *data) {
21 return I2CDevice::read_byte_16(a_register, data);
24 void BME280I2CComponent::dump_config() {
26 BME280Component::dump_config();
Implementation of SPI Controller mode.