Add remarks about IMU behaviour.

This commit is contained in:
Phillip Kühne 2024-12-18 11:58:54 +00:00
parent 51a3d9e8f6
commit 2792aef45d

View File

@ -21,9 +21,11 @@ void MotionDetection::begin(void){
this->writeRegister(0x23,0x37); this->writeRegister(0x23,0x37);
//Enable Gyro and Acceldata in FIFO //Enable Gyro and Acceldata in FIFO
this->initFIFO(); this->initFIFO();
// TODO: Accelerometer Startup Time From sleep mode to valid data 10
}; };
void MotionDetection::end(void){ void MotionDetection::end(void){
this->writeRegister(PWR_MGMT0,0x00); 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 MotionDetection::getAcceleration(){
IMUResult result; IMUResult result;