Fork from https://os.mbed.com/teams/NXP/code/FXOS8700Q/ to use a local and namespaced MotionSensor.h header that would otherwise clash with other libraries.
Dependents: TALab2B_Part2_ECE595 TALab3C_i2c_acc Project1 FinalProject ... more
Diff: FXOS8700Q.h
- Revision:
- 11:aee7dea904e2
- Parent:
- 10:834488c11340
- Child:
- 13:a8deb4ce9b4a
--- a/FXOS8700Q.h Thu Jun 18 22:53:07 2015 +0000 +++ b/FXOS8700Q.h Fri Jun 19 12:16:44 2015 -0500 @@ -93,7 +93,7 @@ @param len The amount of data to read from it @return 0 if successful, negative number otherwise */ - void readRegs(int addr, uint8_t *data, uint32_t len) const; + void readRegs(uint8_t addr, uint8_t *data, uint32_t len) const; /** Read the ID from a whoAmI register @return The device whoAmI register contents