LE YOU / func

Dependents:   mas

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Config.h Source File

Config.h

00001 #include "mbed.h"
00002 #include "Error.h"
00003 
00004 #ifndef __CONFIG_H__
00005 #define __CONFIG_H__
00006 
00007 class Config
00008 {
00009     private:
00010     char __filename[50];
00011     int32_t __acc_offset[3];
00012     int32_t __gyo_offset[3];
00013     int32_t __mag_offset[3];
00014     
00015     public:
00016     Config(char *filename);
00017     void write();
00018     void set_acc_offset(int a[3]);
00019     void set_ayo_offset(int a[3]);
00020     void set_mag_offset(int a[3]);
00021     ~Config();
00022 };
00023 
00024 #endif //__CONFIG_H__