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:
Fri Jul 14 14:41:10 2017 +0000
Revision:
1:a514e4de034d
envSignal function works.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
msamadani 1:a514e4de034d 1 //
msamadani 1:a514e4de034d 2 // Academic License - for use in teaching, academic research, and meeting
msamadani 1:a514e4de034d 3 // course requirements at degree granting institutions only. Not for
msamadani 1:a514e4de034d 4 // government, commercial, or other organizational use.
msamadani 1:a514e4de034d 5 // File: main.h
msamadani 1:a514e4de034d 6 //
msamadani 1:a514e4de034d 7 // MATLAB Coder version : 3.3
msamadani 1:a514e4de034d 8 // C/C++ source code generated on : 06-Apr-2017 13:17:55
msamadani 1:a514e4de034d 9 //
msamadani 1:a514e4de034d 10
msamadani 1:a514e4de034d 11 //***********************************************************************
msamadani 1:a514e4de034d 12 // This automatically generated example C main file shows how to call
msamadani 1:a514e4de034d 13 // entry-point functions that MATLAB Coder generated. You must customize
msamadani 1:a514e4de034d 14 // this file for your application. Do not modify this file directly.
msamadani 1:a514e4de034d 15 // Instead, make a copy of this file, modify it, and integrate it into
msamadani 1:a514e4de034d 16 // your development environment.
msamadani 1:a514e4de034d 17 //
msamadani 1:a514e4de034d 18 // This file initializes entry-point function arguments to a default
msamadani 1:a514e4de034d 19 // size and value before calling the entry-point functions. It does
msamadani 1:a514e4de034d 20 // not store or use any values returned from the entry-point functions.
msamadani 1:a514e4de034d 21 // If necessary, it does pre-allocate memory for returned values.
msamadani 1:a514e4de034d 22 // You can use this file as a starting point for a main function that
msamadani 1:a514e4de034d 23 // you can deploy in your application.
msamadani 1:a514e4de034d 24 //
msamadani 1:a514e4de034d 25 // After you copy the file, and before you deploy it, you must make the
msamadani 1:a514e4de034d 26 // following changes:
msamadani 1:a514e4de034d 27 // * For variable-size function arguments, change the example sizes to
msamadani 1:a514e4de034d 28 // the sizes that your application requires.
msamadani 1:a514e4de034d 29 // * Change the example values of function arguments to the values that
msamadani 1:a514e4de034d 30 // your application requires.
msamadani 1:a514e4de034d 31 // * If the entry-point functions return values, store these values or
msamadani 1:a514e4de034d 32 // otherwise use them as required by your application.
msamadani 1:a514e4de034d 33 //
msamadani 1:a514e4de034d 34 //***********************************************************************
msamadani 1:a514e4de034d 35 #ifndef MAIN_H
msamadani 1:a514e4de034d 36 #define MAIN_H
msamadani 1:a514e4de034d 37
msamadani 1:a514e4de034d 38 // Include Files
msamadani 1:a514e4de034d 39 #include <cmath>
msamadani 1:a514e4de034d 40 #include <stddef.h>
msamadani 1:a514e4de034d 41 #include <stdlib.h>
msamadani 1:a514e4de034d 42 #include <string.h>
msamadani 1:a514e4de034d 43 //#include "rt_nonfinite.h"
msamadani 1:a514e4de034d 44 #include "rtwtypes.h"
msamadani 1:a514e4de034d 45 #include "envSignal_types.h"
msamadani 1:a514e4de034d 46
msamadani 1:a514e4de034d 47 // Function Declarations
msamadani 1:a514e4de034d 48 //extern int main()
msamadani 1:a514e4de034d 49 #endif
msamadani 1:a514e4de034d 50
msamadani 1:a514e4de034d 51 //
msamadani 1:a514e4de034d 52 // File trailer for main.h
msamadani 1:a514e4de034d 53 //
msamadani 1:a514e4de034d 54 // [EOF]
msamadani 1:a514e4de034d 55 //
msamadani 1:a514e4de034d 56