Mohsen Samadani
/
Algorithm-testing
Code for measuring the signal with a specified length and sampling rate, and saving it on a SD card.
Audio/measureSignal.h@2:8c5b6522139f, 2017-10-05 (annotated)
- Committer:
- msamadani
- Date:
- Thu Oct 05 17:44:39 2017 +0000
- Revision:
- 2:8c5b6522139f
- Parent:
- 0:c05b00be2229
A version of the code that initializes the SD RAM, activates the codec, measures the signal and saves the signal onto the SD Card.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
msamadani | 0:c05b00be2229 | 1 | #ifndef MEASURESIGNAL_H |
msamadani | 0:c05b00be2229 | 2 | #define MEASURESIGNAL_H |
msamadani | 0:c05b00be2229 | 3 | |
msamadani | 0:c05b00be2229 | 4 | #include "WM8731.h" |
msamadani | 0:c05b00be2229 | 5 | #include "I2S.h" |
msamadani | 0:c05b00be2229 | 6 | |
msamadani | 0:c05b00be2229 | 7 | |
msamadani | 0:c05b00be2229 | 8 | |
msamadani | 0:c05b00be2229 | 9 | void measureSignal(int signal[],int fs,int N); |
msamadani | 0:c05b00be2229 | 10 | |
msamadani | 0:c05b00be2229 | 11 | |
msamadani | 0:c05b00be2229 | 12 | |
msamadani | 0:c05b00be2229 | 13 | #endif |
msamadani | 0:c05b00be2229 | 14 |