|
upm
0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
|
API for the DFRobot MQ7 CO Gas Sensor. More...
The Grove MQ7 Gas Sensor module is useful for detecting Carbon Monoxide (CO) concentrations in the air. It has a detection range of 20-2000 ppm.
For optimum use, it requires calibration after a pre-heat time of 48 hours. See the datasheet for details.
Public Member Functions | |
| synchronized void | delete () |
| MQ7 (int gasPin) | |
| String | name () |
Public Member Functions inherited from Gas | |
| synchronized void | delete () |
| Gas (int gasPin) | |
| int | getSampledWindow (long freqMS, short[] numberOfSamples) |
| int | findThreshold (thresholdContext ctx, long threshold, short[] buffer) |
| int | getSampledData (thresholdContext ctx) |
| int | getSample () |
| void | printGraph (thresholdContext ctx, short resolution) |
| String name | ( | ) |
Returns the name of the sensor


1.8.9.1