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 MMA8451Q8b by
Diff: MMA8451Q8.h
- Revision:
- 6:e0dc3cd59991
- Parent:
- 5:5a7293378401
- Child:
- 7:ed7e11d269f8
--- a/MMA8451Q8.h Thu Dec 11 00:36:30 2014 +0000
+++ b/MMA8451Q8.h Wed Jan 28 20:42:56 2015 +0000
@@ -98,7 +98,8 @@
*/
void getAccAllAxis(float * res);
-
+ int16_t getAccAxis(uint8_t addr);
+
I2C m_i2c;
int m_addr;
int gChosen;
@@ -111,7 +112,7 @@
void writeRegs(uint8_t * data, int len);
private:
- int16_t getAccAxis(uint8_t addr);
+
};
