Uart.h
Go to the documentation of this file.
String toString(MHZ19::Error error)
void setDetectionRange(DetectionRange range)
MHZ-19B has configurable detection range.
void setAutoCalibration(bool enable)
Enable/disable zero-point auto-calibration feature. On by default.
uint8_t getSensorNumber() const
Get currently configured sensor number.
Definition: Uart.h:101
void setSensorNumber(uint8_t num)
Change sensor number field.
Definition: Uart.h:93
bool getMeasurement(MeasurementCallback callback)
Read measurement from device.
void sendRequest(Request &request)
void enable(Handler &commandHandler, HardwareSerial &serial)
Definition: common.h:23
@ invalidResponse
@ success
@ timeout
@ incompleteResponse
DetectionRange
Device may be configured to output CO2 PPM values in various ranges.
Definition: common.h:27
Definition: Uart.h:63
Definition: Uart.h:41
Definition: Uart.h:49