tiz

Dependencies:   TextLCD X_NUCLEO_IKS01A1 func mbed-src mbed

Fork of mas by esproj

Revision:
1:1df80fe13928
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/func/Config.h	Thu Dec 10 18:51:28 2015 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "Error.h"
+
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+class Config
+{
+    private:
+    char __filename[50];
+    int32_t __acc_offset[3];
+    int32_t __gyo_offset[3];
+    int32_t __mag_offset[3];
+    
+    public:
+    Config(char *filename);
+    void write();
+    void set_acc_offset(int a[3]);
+    void set_ayo_offset(int a[3]);
+    void set_mag_offset(int a[3]);
+    ~Config();
+};
+
+#endif //__CONFIG_H__
\ No newline at end of file