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.
Fork of ReferredCoursework2016 by
Diff: Components/Common/GyroSensor.h
- Revision:
- 24:92cc9c6e4b2b
- Parent:
- 20:c20c8bd5be6b
- Child:
- 28:501726e9220d
diff -r 9da7be2a27c1 -r 92cc9c6e4b2b Components/Common/GyroSensor.h
--- a/Components/Common/GyroSensor.h Fri May 29 16:50:56 2015 +0200
+++ b/Components/Common/GyroSensor.h Wed Jun 03 14:57:57 2015 +0200
@@ -52,8 +52,16 @@
virtual int Init(void*) = 0;
virtual int ReadID(uint8_t*) = 0;
- virtual int Get_G_Axes(int32_t*) = 0;
- virtual int Get_G_Sensitivity(float*) = 0;
+ virtual int Get_G_Axes(int32_t *) = 0;
+ virtual int Get_G_AxesRaw(int16_t *) = 0;
+
+ virtual int Get_G_ODR(float *) = 0;
+ virtual int Set_G_ODR(float) = 0;
+
+ virtual int Get_G_Sensitivity(float *) = 0;
+
+ virtual int Get_G_FS(float *) = 0;
+ virtual int Set_G_FS(float) = 0;
protected:
GyroSensor(void) {};