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: BSP_DISCO_L476VG COMPASS_DISCO_L476VG ConfigFile GYRO_DISCO_L476VG SDFileSystem mbed
DataFile/DataFile.h
- Committer:
- flowh
- Date:
- 2016-02-13
- Revision:
- 2:f53340e49cc0
- Parent:
- 0:0861bf46efe4
File content as of revision 2:f53340e49cc0:
///Definition de la classe DataFile qui gère l'enregistrement des mesures
#include "mbed.h"
#include "Mesure.h"
#ifndef DATAFILE_H
#define DATAFILE_H
class tDataFile
{
public:
tDataFile();
void New();
void Close();
void SaveMesures(tMesure * apMesure );
private:
FILE *fp;
DigitalOut* pLedRecord ; ///pin pour indiquer l'enregistrementou non
int Opened; //0 si fermé, 1 si ouvert
int Index;
};
#endif