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 class  MHZ19::Error { MHZ19::success , MHZ19::incompleteResponse , MHZ19::invalidResponse , MHZ19::timeout }
 

Functions

String toString (MHZ19::Error error)
 

Function Documentation

◆ toString()

String toString ( MHZ19::Error  error)