It took some doing, but I finally got my BEM280 (temperature, pressure, humidity) sensor for my balcony weather station working in C. Crazy how much the Circuit Python library was doing: setting bunch of config values like mode and oversampling rates, enable/disable filter, reading compensation params, and parsing the read out values. Pretty cool to do it all yourself and understand the sensor on a deeper level.