28 #include <mraa/aio.hpp>
29 #include <mraa/gpio.hpp>
81 MG811(
int pin,
int dpin,
float aref=5.0);
136 float m_zeroPointValue;
137 float m_reactionValue;
float getReferenceVoltage()
Definition: mg811.cxx:72
float volts()
Definition: mg811.cxx:59
API for the DFRobot CO2 Sensor.
Definition: mg811.h:71
bool thresholdReached()
Definition: mg811.cxx:91
MG811(int pin, int dpin, float aref=5.0)
Definition: mg811.cxx:39
void setCalibration(float ppm400, float ppm1000)
Definition: mg811.cxx:66
float ppm()
Definition: mg811.cxx:77
~MG811()
Definition: mg811.cxx:55