27 #include <mraa/gpio.h> 32 unsigned long runningAverage;
83 int getSampledWindow (
unsigned int freqMS,
int numberOfSamples, uint16_t * buffer);
94 int findThreshold (
thresholdContext* ctx,
unsigned int threshold, uint16_t * buffer,
int len);
105 mraa_aio_context m_micCtx;
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
API for the Analog Microphone.
Definition: mic.hpp:61