commit
Dependencies: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
Diff: Log/log.h
- Revision:
- 1:75966605a6a3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Log/log.h Fri Nov 10 15:35:26 2017 +0000 @@ -0,0 +1,30 @@ +#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 +