seventh lab
Fork of MPL3115A2 by
Revision 3:d893e6f4c1ba, committed 2018-03-09
- Comitter:
- dprowe
- Date:
- Fri Mar 09 17:25:16 2018 +0000
- Parent:
- 2:12223b4c88b1
- Commit message:
- ?;
Changed in this revision
MPL3115A2.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 12223b4c88b1 -r d893e6f4c1ba MPL3115A2.h --- a/MPL3115A2.h Wed Aug 23 12:37:18 2017 +0000 +++ b/MPL3115A2.h Fri Mar 09 17:25:16 2018 +0000 @@ -101,10 +101,12 @@ void activate(void) ; void modeAlt(void) ; void modeBar(void) ; +void readRegs(int addr, uint8_t *data, int len) ; +void writeRegs(uint8_t *data, int len) ; + + private: I2C m_i2c; int m_addr ; - void readRegs(int addr, uint8_t *data, int len) ; - void writeRegs(uint8_t *data, int len) ; } ; #endif /* MPL3115A2_H */