SDFileSystem, slightly modified for the ExoController

Dependencies:   SDFileSystem

Dependents:   Data-Management-Honka

Fork of SDFileSystem_HelloWorld by Bradley Perry

SDFile.h

Committer:
mzling
Date:
2015-02-04
Revision:
3:8f5903a77a13
Parent:
2:ec4d7e5fa68e
Child:
4:99e9c9e0dfb0

File content as of revision 3:8f5903a77a13:

/**
* @file SDFile.h
* @brief This header file contains read/write functions for the SDFile object
* @author Michael Ling
* @date 2/2/2015
*/

#include <string>

#include "mbed.h"
#include "SDFileSystem.h"

#ifndef SDFILE_H
#define SDFILE_H
class SDFile
{
public:
    SDFile(std::string path, std::string filename);
    int *read(int length, int *array);
    void write(int length, int *array);

private:
    FILE *_fp;
};
#endif