diff --git a/src/motionDetection/MotionDetection.cpp b/src/motionDetection/MotionDetection.cpp index 6386e2f..a06618e 100644 --- a/src/motionDetection/MotionDetection.cpp +++ b/src/motionDetection/MotionDetection.cpp @@ -21,9 +21,11 @@ void MotionDetection::begin(void){ this->writeRegister(0x23,0x37); //Enable Gyro and Acceldata in FIFO this->initFIFO(); + // TODO: Accelerometer Startup Time From sleep mode to valid data 10 }; void MotionDetection::end(void){ this->writeRegister(PWR_MGMT0,0x00); + // TODO: After powering the gyroscope off, a period of > 20ms should be allowed to elapse before it is powered back on. }; IMUResult MotionDetection::getAcceleration(){ IMUResult result;