
Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
Diff: Storage.h
- Revision:
- 5:46947b447701
- Parent:
- 4:2a5a08b14539
- Child:
- 6:75263c93daf7
--- a/Storage.h Wed Jun 03 15:10:45 2015 +0000 +++ b/Storage.h Sun Jun 07 14:11:26 2015 +0000 @@ -27,9 +27,34 @@ int8_t readData(); void bulkErase(); - void sectorErase(int32_t); + void sectorErase(int32_t addr); void reset(); }; -#endif /* _STORAGE_H_ */ \ No newline at end of file +#endif /* _STORAGE_H_ */ + + + +/* +class Singleton +{ + private: + int mData; + + public: + static Singleton& getInstance() + { + static Singleton instance; + return instance; + } + int GetData() + { + return mData; + } + private: + Singleton() {}; + Singleton(Singleton const&); + void operator=(Singleton const&); +}; +*/ \ No newline at end of file