Requests a reading from the sensor and updates its data properties with the gathered values.
- Returns
- An awaitable Task
Note that when AutoUpdateWhenPropertyRead is true (which it is, by default), this method is implicitly called when any sensor data property is read from — there's no need to call this method unless you set AutoUpdateWhenPropertyRead to false.
Unless otherwise noted, this method updates all sensor data simultaneously, which can often lead to more efficient bus usage (as well as reducing USB chattiness).
Implemented in Bno055, Hmc5883l, Mpu6050, L3gd20, Bmp280, Tsl2591, Mcp23008, WiiClassicController, WiiNunchuk, Vcnl4010, Nau7802, Mpu9250, Bh1750, Bme280, Ds18b20, Ads1115, Adxl345, Lis3dh, TemperatureSensorBase, PortExpander, Veml6070, Tlv493d, Lsm303dlhc, ProximitySensor, PressureSensor, NesController, Lsm303dlhcMag, AccelerometerBase, GyroscopeBase, AmbientLightSensor, Mcp9700, MagnetometerBase, Lm75, Ak8975, Lsm303dlhcAccel, Mcp9808, and SuperNesController.