Logger using local flash memory and creating a new file every start.
Diff: logr.h
- Revision:
- 3:250e9ea5985b
diff -r cc9638f21240 -r 250e9ea5985b logr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logr.h Wed May 28 07:01:24 2014 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" + +class Loger { + +public: + Loger(); + void log_open(); + void log_close(); + void log_int2(int,int); + void log_rn(); + void log_chr(char[]); + +private: + LocalFileSystem local; + FILE * _loger; + int get_files(); + void mk_path(int); + char dst[30]; + float time; + +}; +