mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 19:11:48 +02:00
Add remarks about IMU behaviour.
This commit is contained in:
parent
51a3d9e8f6
commit
2792aef45d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user