Moja verzia kniznice pre Akcelerometer - public

Fork of MMA8451Q by Emilio Monti

Files at this revision

API Documentation at this revision

Comitter:
KleiniX16
Date:
Mon Nov 13 16:02:06 2017 +0000
Parent:
4:c4d879a39775
Commit message:
funguje aj sleep a aj volny pad na 100Hz

Changed in this revision

MMA8451Q.h Show annotated file Show diff for this revision Revisions of this file
--- a/MMA8451Q.h	Fri Oct 12 11:35:07 2012 +0000
+++ b/MMA8451Q.h	Mon Nov 13 16:02:06 2017 +0000
@@ -98,7 +98,7 @@
    */
   void getAccAllAxis(float * res);
 
-private:
+
   I2C m_i2c;
   int m_addr;
   void readRegs(int addr, uint8_t * data, int len);