27 #include <mraa/gpio.h>
65 virtual int getSampledWindow (
unsigned int freqMS,
unsigned int numberOfSamples, uint16_t * buffer);
101 mraa_aio_context m_gasCtx;
virtual int getSampledWindow(unsigned int freqMS, unsigned int numberOfSamples, uint16_t *buffer)
Definition: gas.cxx:49
virtual int findThreshold(thresholdContext *ctx, unsigned int threshold, uint16_t *buffer, unsigned int len)
Definition: gas.cxx:72
virtual void printGraph(thresholdContext *ctx, uint8_t resolution)
Definition: gas.cxx:100
Gas(int gasPin)
Definition: gas.cxx:34
virtual int getSampledData(thresholdContext *ctx)
Definition: gas.cxx:90
C++ API for Gas sensors.
Definition: gas.h:43
~Gas()
Definition: gas.cxx:39
virtual int getSample(thresholdContext *ctx)
Definition: gas.cxx:95