libstp.step.calibration.calibrate_wfl¶
Wait-for-light sensor calibration step using the new UI library.
Classes¶
Result of wait-for-light sensor calibration. |
|
Step for calibrating a wait-for-light sensor. |
Functions¶
|
Create a wait-for-light calibration step. |
Module Contents¶
- class libstp.step.calibration.calibrate_wfl.WFLCalibrationResult¶
Result of wait-for-light sensor calibration.
- class libstp.step.calibration.calibrate_wfl.CalibrateWaitForLight(sensor: libstp.hal.AnalogSensor)¶
Bases:
libstp.ui.step.UIStepStep for calibrating a wait-for-light sensor.
- sensor¶
- calibration_result: WFLCalibrationResult | None = None¶
- libstp.step.calibration.calibrate_wfl.calibrate_wait_for_light(sensor: libstp.hal.AnalogSensor) CalibrateWaitForLight¶
Create a wait-for-light calibration step.
- Parameters:
sensor – The AnalogSensor to calibrate
- Returns:
CalibrateWaitForLight step instance