Driver library for the Freescale FXOS8700Q sensor
Dependencies: MotionSensor
Dependents: el14dg_Project frdm_serial_peopleAndComputing simple-client-app-shield pelion-example-frdm ... more
Fork of FXOS8700Q by
Diff: FXOS8700Q.h
- Revision:
- 11:aee7dea904e2
- Parent:
- 10:834488c11340
diff -r 834488c11340 -r aee7dea904e2 FXOS8700Q.h --- 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