Kobayashi Akihiro / ActiveCaster

Dependents:   ActiveCaster_ ActiveCaster_2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SDclass.h Source File

SDclass.h

00001 #ifndef SDCLASS_h
00002 #define SDCLASS_h
00003 
00004 #include "mbed.h"
00005 //#include <SD.h>
00006 #include "define.h"
00007 #include "FATFileSystem.h"
00008 #include "SDBlockDevice.h"
00009 #include <string>
00010 
00011 class mySDclass{
00012 public:
00013     mySDclass();
00014     
00015     bool SD_enable = false;
00016     string logFileName;
00017     
00018     int init();
00019     int make_logfile();
00020     int write_logdata(string);
00021 
00022     int path_read(int, double*, double*, double*, double*, int*, int*, double*);
00023 
00024     double str2double(char*, int);
00025     int str2uint(char* str, int num);
00026 };
00027 
00028 #endif