KBrat-SSD645-HW-8_1_MMA8451Q8
Fork of MMA8451Q8 by
Diff: MMA8451Q8.h
- Revision:
- 8:65da360cf088
- Parent:
- 5:be042e8c1756
- Child:
- 9:1e7f9d65ad29
diff -r 7812354ef684 -r 65da360cf088 MMA8451Q8.h --- a/MMA8451Q8.h Wed Feb 22 15:35:47 2017 +0000 +++ b/MMA8451Q8.h Mon Mar 06 17:39:43 2017 +0000 @@ -104,6 +104,8 @@ void readRegs(int addr, uint8_t * data, int len); void writeRegs(uint8_t * data, int len); void setGLimit(); + void standbyMode(); + void activeMode(); private: int16_t getAccAxis(uint8_t addr);