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 14:c7692d514168, committed 2018-05-01
- Comitter:
- tkstreet
- Date:
- Tue May 01 21:26:36 2018 +0000
- Parent:
- 13:e02dfc48990a
- Commit message:
- Trivial changes regarding readability and data protection.
Changed in this revision
AK9752.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r e02dfc48990a -r c7692d514168 AK9752.h --- a/AK9752.h Wed Dec 13 23:35:14 2017 +0000 +++ b/AK9752.h Tue May 01 21:26:36 2018 +0000 @@ -240,14 +240,8 @@ Status write(char registerAddress, const char *buf, int length); private: - /** - * I2C connection. - */ + I2C *connection; - - /** - * Slave address. - */ SlaveAddress slaveAddress; // const static uint8_t IR_DATA_LEN = 7; /**<! Data length of IR sensor. From ST1 to ST2. */