1 #ifndef RUUVI_INTERFACE_I2C_BME280_H
2 #define RUUVI_INTERFACE_I2C_BME280_H
50 uint8_t * p_reg_data, uint16_t len);
67 uint8_t * p_reg_data, uint16_t len);
int8_t ri_i2c_bme280_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *p_reg_data, uint16_t len)
I2C Read function for BME280.
int8_t ri_i2c_bme280_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *p_reg_data, uint16_t len)
I2C write function for BME280.
Ruuvi error codes and error check function.