Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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__
Generated on Sat Jul 16 2022 00:03:47 by
1.7.2