init

Dependencies:   MPU6050 PinDetect circular_buffer

Log/log.h

Committer:
OsmanKameric
Date:
2017-11-07
Revision:
0:b416214256cd

File content as of revision 0:b416214256cd:

#ifndef _LOG_H
#define _LOG_H

#include <stdint.h>
//#include <stdio.h>
//#include <stdlib.h>


//************************************************************LOG*******************************************************************//
class Log{
private:

public:
uint16_t _data;
uint16_t _date;
Log(uint16_t ttime, uint8_t fsmtype, uint8_t event, uint16_t date);
Log();
uint16_t getsize();
bool getFsmtype() const;
bool getEvent() const;
uint16_t getTime() const;
uint16_t getDate() const;
void setLog(uint16_t ttime, uint8_t fsmtype, uint8_t event,uint16_t date);

Log& operator =(const Log &a);

};

#endif