tiz
Dependencies: TextLCD X_NUCLEO_IKS01A1 func mbed-src mbed
Fork of mas by
func/Config.h
- Committer:
- herenvarno
- Date:
- 2015-12-10
- Revision:
- 1:1df80fe13928
File content as of revision 1:1df80fe13928:
#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__