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:6082049640a7, committed 2022-04-25
- Comitter:
- fernando_moraless
- Date:
- Mon Apr 25 05:49:46 2022 +0000
- Parent:
- 4:c4d879a39775
- Commit message:
- es mio
Changed in this revision
MMA8451Q.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MMA8451Q.cpp Fri Oct 12 11:35:07 2012 +0000 +++ b/MMA8451Q.cpp Mon Apr 25 05:49:46 2022 +0000 @@ -70,6 +70,8 @@ return acc; } + + void MMA8451Q::readRegs(int addr, uint8_t * data, int len) { char t[1] = {addr}; m_i2c.write(m_addr, t, 1, true);