Uart.h File Reference
#include <HardwareSerial.h>
#include <SimpleTimer.h>
#include "common.h"
Include dependency graph for Uart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MHZ19::Request
 
struct  MHZ19::Response
 
struct  MHZ19::Measurement
 
class  MHZ19::Uart
 Access MHZ19 sensor via serial port. More...
 

Namespaces

 MHZ19
 

Typedefs

using MHZ19::MeasurementCallback = Delegate< void(Measurement &m)>
 

Enumerations

enum  MHZ19::Command {
  MHZ19::CMD_GasConcentration = 0x86, MHZ19::CMD_CalibrateZeroPoint = 0x87, MHZ19::CMD_CalibrateSpanPoint = 0x88, MHZ19::CMD_SelfCalbrationOnOff = 0x79,
  MHZ19::CMD_SetDetectionRange = 0x99
}
 Available commands. More...
 
enum  MHZ19::Error { MHZ19::Error::success, MHZ19::Error::incompleteResponse, MHZ19::Error::invalidResponse, MHZ19::Error::timeout }
 

Functions

String toString (MHZ19::Error error)
 

Function Documentation

◆ toString()

String toString ( MHZ19::Error  error)