Ramana R
/
MQ9
This is a library for the MQ9 gas sensor module.
Diff: MQ9.h
- Revision:
- 2:c366191f8865
- Parent:
- 1:9a7fb445a7ad
--- a/MQ9.h Tue May 01 20:33:25 2018 +0000 +++ b/MQ9.h Tue May 01 20:36:47 2018 +0000 @@ -20,14 +20,19 @@ /// Update the gas concentrations from the sensor. int read(); - /// Get concentration of LPG + /** Get concentration of LPG + * Returns the concentration of LPG as a floating number. + */ float getLPG_ppm(); - /// Get concentration of CO - /// Returns the concentration of CO as a floating number + /** Get concentration of CO, + * Returns the concentration of CO as a floating number. + */ float getCO_ppm(); - /// Get concentration of Methane + /** Get concentration of Methane + * Returns the concentration of Methane as a floating number. + */ float getMethane_ppm(); private: