initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Adafruit Circuit Playground microphone library
|
||||
// by Phil Burgess / Paint Your Dragon.
|
||||
// Fast Fourier transform section is derived from
|
||||
// ELM-ChaN FFT library (see comments in ffft.S).
|
||||
|
||||
#ifndef ADAFRUIT_CPLAY_MIC_H
|
||||
#define ADAFRUIT_CPLAY_MIC_H
|
||||
|
||||
class Adafruit_CPlay_Mic {
|
||||
public:
|
||||
Adafruit_CPlay_Mic(void) {}; // Empty constructor
|
||||
int peak(uint16_t ms);
|
||||
void capture(int16_t *buf, uint8_t nSamples),
|
||||
fft(uint16_t *spectrum);
|
||||
};
|
||||
|
||||
#endif // ADAFRUIT_CPLAY_MIC_H
|
||||
Reference in New Issue
Block a user