Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
Storage.h@1:b44bd62c542f, 2015-05-20 (annotated)
- Committer:
- dkester
- Date:
- Wed May 20 11:45:38 2015 +0000
- Revision:
- 1:b44bd62c542f
- Parent:
- 0:1c5088dae6e1
- Child:
- 3:a3e1a06c486d
update;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dkester | 0:1c5088dae6e1 | 1 | #ifndef _STORAGE_H_ |
dkester | 0:1c5088dae6e1 | 2 | #define _STORAGE_H_ |
dkester | 0:1c5088dae6e1 | 3 | |
dkester | 0:1c5088dae6e1 | 4 | #include "mbed.h" |
dkester | 0:1c5088dae6e1 | 5 | |
dkester | 0:1c5088dae6e1 | 6 | class Storage |
dkester | 0:1c5088dae6e1 | 7 | { |
dkester | 0:1c5088dae6e1 | 8 | static Storage* instance; |
dkester | 0:1c5088dae6e1 | 9 | Storage(); |
dkester | 0:1c5088dae6e1 | 10 | |
dkester | 0:1c5088dae6e1 | 11 | public: |
dkester | 0:1c5088dae6e1 | 12 | |
dkester | 0:1c5088dae6e1 | 13 | static Storage* getInstance(); |
dkester | 1:b44bd62c542f | 14 | int32_t setup(); |
dkester | 1:b44bd62c542f | 15 | //void write(); |
dkester | 1:b44bd62c542f | 16 | //int32_t read(); |
dkester | 0:1c5088dae6e1 | 17 | |
dkester | 0:1c5088dae6e1 | 18 | }; |
dkester | 0:1c5088dae6e1 | 19 | |
dkester | 0:1c5088dae6e1 | 20 | #endif /* _STORAGE_H_ */ |