Searched refs:MG811 (Results 1 - 5 of 5) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/mg811/
H A Dmg811.cxx39 MG811::MG811(int pin, int dpin, float aref) : function in class:MG811
55 MG811::~MG811()
59 float MG811::volts()
66 void MG811::setCalibration(float ppm400, float ppm1000)
72 float MG811::getReferenceVoltage()
77 float MG811::ppm()
91 bool MG811::thresholdReached()
H A Dmg811.h42 * @altname MG811
70 class MG811 { class in namespace:upm
74 * MG811 constructor
80 MG811(int pin, int dpin, float aref=5.0);
83 * MG811 destructor
85 ~MG811();
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dmg811.cxx48 // Instantiate an MG811 on analog pin A0, and digital pin D2 with an
50 upm::MG811 *sensor = new upm::MG811(0, 2, MG811_AREF);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dmg811.js31 // Instantiate an MG811 on analog pin A0, and digital pin D2 with an
34 var sensor = new sensorObj.MG811(0, 2, 5.0);
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dmg811.py27 # Instantiate an MG811 on analog pin A0, and digital pin D2 with an
30 sensor = sensorObj.MG811(0, 2, 5.0)

Completed in 116 milliseconds