Code for measuring the signal with a specified length and sampling rate, and saving it on a SD card.

Dependencies:   EALib I2S mbed

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?

UserRevisionLine numberNew contents of line
msamadani 0:c05b00be2229 1 #ifndef SDCARD_H
msamadani 0:c05b00be2229 2 #define SDCARD_H
msamadani 0:c05b00be2229 3
msamadani 0:c05b00be2229 4 #include "MCIFileSystem.h"
msamadani 0:c05b00be2229 5 #include "mbed.h"
msamadani 0:c05b00be2229 6
msamadani 0:c05b00be2229 7
msamadani 0:c05b00be2229 8 void saveToSD(float signal[],int sig_length,char const *filename);
msamadani 0:c05b00be2229 9
msamadani 0:c05b00be2229 10
msamadani 0:c05b00be2229 11
msamadani 0:c05b00be2229 12
msamadani 0:c05b00be2229 13
msamadani 0:c05b00be2229 14 #endif