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.
Revision 5:d1fa77b56bc7, committed 2018-12-06
- Comitter:
- gjanusz
- Date:
- Thu Dec 06 20:50:52 2018 +0000
- Parent:
- 4:e2fe752b881e
- Commit message:
- On board temperature sensor
Changed in this revision
FXOS8700CQ.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r e2fe752b881e -r d1fa77b56bc7 FXOS8700CQ.h --- a/FXOS8700CQ.h Tue Jun 03 19:02:19 2014 +0000 +++ b/FXOS8700CQ.h Thu Dec 06 20:50:52 2018 +0000 @@ -160,6 +160,10 @@ * @return 2, 4, or 8, depending on part configuration; 0 on error */ uint8_t get_accel_scale(void); + + void read_regs(int reg_addr, uint8_t* data, int len); + + void write_regs(uint8_t* data, int len); @@ -169,8 +173,7 @@ bool enabled; // keep track of enable bit of device // I2C helper methods - void read_regs(int reg_addr, uint8_t* data, int len); - void write_regs(uint8_t* data, int len); + };