Hello SpikeHawk,
There was BME280 driver code and example code in github, you could refer it from https://github.com/BoschSensortec/BME280_driver.
1.For 0xF7 address reading, you could refer bme280_get_sensor_data() function;
2. For 0xF5 address write, you could refer data sheet, bme280_set_sensor_settings() function and see the usage in example code in github.
... View more