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: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Logger.h
- Committer:
- shimniok
- Date:
- 2018-12-27
- Revision:
- 31:20a95043adb0
- Parent:
- 30:ed791f1f7f7d
File content as of revision 31:20a95043adb0:
#ifndef __Logger_H
#define __Logger_H
#include "mbed.h"
#include "SystemState.h"
class Logger {
public:
Logger();
void start();
void stop();
bool enabled();
void log_gps(GpsData gd);
void log_sensors(SensorData sd);
void log_estimation();
private:
char *_file;
FILE *_fp;
};
#endif