27 void setup()
override;
28 void update()
override;
29 void dump_config()
override;
31 void calibrate_zero();
virtual void setup()
Where the component's initialization should happen.
This class simplifies creating components that periodically check a state.
MHZ19DetectionRange detection_range_
bool mhz19_write_command_(const uint8_t *command, uint8_t *response)
MHZ19ABCLogic abc_boot_logic_
@ MHZ19_DETECTION_RANGE_0_10000PPM
@ MHZ19_DETECTION_RANGE_0_5000PPM
@ MHZ19_DETECTION_RANGE_0_2000PPM
@ MHZ19_DETECTION_RANGE_DEFAULT