#[unsafe(no_mangle)]pub extern "C" fn pamoja_bme280_sim_part(
address: u8,
) -> *mut PamojaI2cPartExpand description
Creates a simulated BME280 holding a real part’s calibration and one measurement it took, which compensate to 20.44 C, 848.05 hPa, and 44.65 %.
§Arguments
address- the address it answers to.
§Returns
The part, which the caller puts on a simulated bus and releases with
crate::hal::pamoja_i2c_part_free.