Store the latest pushed illuminance for AmbientLightController.
More...
Public Member Functions | |
| bool | is_started (self) |
| Return whether the sensor has been initialized. | |
| None | start (self) |
| Initialize the sensor and prepare it for use. | |
| None | stop (self) |
| Release resources owned by the sensor. | |
| float | get_illuminance_lux (self) |
| Read ambient illuminance. | |
Store the latest pushed illuminance for AmbientLightController.
| float environmental.buffered_ambient_light_sensor.BufferedAmbientLightSensor.get_illuminance_lux | ( | self | ) |
Read ambient illuminance.
Reimplemented from hardware_io.environmental.ambient_light_sensor_if.AmbientLightSensorIf.
| bool environmental.buffered_ambient_light_sensor.BufferedAmbientLightSensor.is_started | ( | self | ) |
Return whether the sensor has been initialized.
| True | The sensor is initialized and readable. |
| False | The sensor has not been started. |
Reimplemented from hardware_io.environmental.ambient_light_sensor_if.AmbientLightSensorIf.