init

Dependencies:   MPU6050 PinDetect circular_buffer

Revision:
0:b416214256cd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Log/log.h	Tue Nov 07 16:35:14 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
+