/// Start measuring with mbar (pressure) compensation.
Start measuring with mbar (pressure) compensation.
Start measuring with mbar ( pressure ) compensation .
pub fn start_measuring_with_mbar(&mut self, pressure: u16) -> Result<(), E> {
        let mut vec: Vec<u8, 5> = Vec::new();
        vec.extend_from_slice(&(Command::StartContinuousMeasurement as u16).to_be_bytes()).expect(EXPECT_MSG);
        self.add_argument(&mut vec, &pressure.to_be_bytes()).expect(EXPECT_MSG);
        self.comm.write(self.address, &vec)
    }
pub fn start_measuring_with_mbar ( & mut self , pressure : u16 ) -> Result < ( ) , E > { let mut vec : Vec < u8 , 5 > = Vec :: new ( ) ; vec . extend_from_slice ( & ( Command :: StartContinuousMeasurement as u16 ) . to_be_bytes ( ) ) . expect ( EXPECT_MSG ) ; self . add_argument ( & mut vec , & pressure . to_be_bytes ( ) ) . expect ( EXPECT_MSG ) ; self . comm . write ( self . address , & vec ) }
Start measuring with mbar (pressure) compensation.
Start measuring with mbar ( pressure ) compensation .
&mut self
pressure
u16