Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
Diff: Storage.h
- Revision:
- 3:a3e1a06c486d
- Parent:
- 1:b44bd62c542f
- Child:
- 4:2a5a08b14539
diff -r 871b5efb2043 -r a3e1a06c486d Storage.h --- a/Storage.h Sat May 30 12:26:02 2015 +0000 +++ b/Storage.h Mon Jun 01 15:41:01 2015 +0000 @@ -11,9 +11,16 @@ public: static Storage* getInstance(); - int32_t setup(); - //void write(); - //int32_t read(); + void setup(); + bool setWREN(); + bool isBusy(); + void endAction(); + + void pageProgram(int32_t addr); + void writeData(int8_t data); + + void read(int32_t addr); + int8_t readData(); };