HW-6.1

Fork of MMA8451Q by Emilio Monti

Files at this revision

API Documentation at this revision

Comitter:
mireyarod23
Date:
Wed Feb 22 05:45:05 2017 +0000
Parent:
12:e54564bbb2eb
Commit message:
Stuck

Changed in this revision

MMA8451Q.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e54564bbb2eb -r 0155b9a9851e MMA8451Q.cpp
--- a/MMA8451Q.cpp	Wed Feb 22 05:44:40 2017 +0000
+++ b/MMA8451Q.cpp	Wed Feb 22 05:45:05 2017 +0000
@@ -55,18 +55,18 @@
 
 MMA8451Q::~MMA8451Q() { }
 
-uint8_t MMA8451Q::getGLimit(uint8_t regData) 
-{
-    acc.getGLimit();
-    acc.readRegs(XYZ_DATA_CFG, &regData, 1);
-    sprintf(lcdData, "%d", regData);
-    LCDMess(lcdData, BLINKTIME);
-    acc.readRegs(REG_WHO_AM_I, &regData, 1);
-    springf(lcdData, "%d", regData);
-    LCDMess(lcdData, BLINKTIME);
-    
-    return regDate
-}
+//uint8_t MMA8451Q::getGLimit(uint8_t regData) 
+//{
+//    acc.getGLimit();
+//    acc.readRegs(XYZ_DATA_CFG, &regData, 1);
+//    sprintf(lcdData, "%d", regData);
+//    LCDMess(lcdData, BLINKTIME);
+//    acc.readRegs(REG_WHO_AM_I, &regData, 1);
+//    springf(lcdData, "%d", regData);
+//    LCDMess(lcdData, BLINKTIME);
+//    
+//    return regDate
+//}
 
 uint8_t MMA8451Q::getWhoAmI() {
     uint8_t who_am_i = 0;