Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: aconno_I2C Lis2dh12 WatchdogTimer
filesystem.h
- Committer:
- pathfindr
- Date:
- 2018-12-15
- Revision:
- 11:60eb0ff945f2
- Child:
- 14:9a54b1b65bc8
File content as of revision 11:60eb0ff945f2:
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include "main.h"
#include "SDBlockDevice.h"
//#include "LittleFileSystem.h"
#include "FATFileSystem.h"
//#define SD_MOUNT_PATH "sd"
namespace mbed {
class Filesystem
{
public:
Filesystem(PinName mosi, PinName miso, PinName clk, PinName cs);
~Filesystem();
//funcs
void addLogEntry_temperature(time_t timestamp, float temperature);
private:
protected:
SDBlockDevice bd;
//LittleFileSystem fs;
FATFileSystem fs;
};
} //Namespace
#endif