27 #include <mraa/gpio.h>
83 int getSampledWindow (
unsigned int freqMS,
int numberOfSamples, uint16_t * buffer);
105 mraa_aio_context m_micCtx;
int getSampledWindow(unsigned int freqMS, int numberOfSamples, uint16_t *buffer)
Definition: mic.cxx:57
Microphone(int micPin)
Definition: mic.cxx:36
void printGraph(thresholdContext *ctx)
Definition: mic.cxx:98
int findThreshold(thresholdContext *ctx, unsigned int threshold, uint16_t *buffer, int len)
Definition: mic.cxx:80
API for the Analog Microphone.
Definition: mic.h:61
~Microphone()
Definition: mic.cxx:47