Skip to main content

reporting

Function reporting 

Source
pub fn reporting(address: u8, celsius: f32, hectopascals: f32) -> I2cPart
Expand description

A BMP280 that reads what it is asked to.

§Arguments

  • address - the address it answers to.
  • celsius - the temperature it reports.
  • hectopascals - the pressure it reports.

§Returns

The part. Its readings land within a hundredth of a degree and a hundredth of a hectopascal of what was asked for.