gyroscope känslighet
This commit is contained in:
parent
bc7a9a6ec4
commit
1bf3f51783
@ -16,7 +16,8 @@ void gyro_setup(){
|
||||
}
|
||||
Serial.println("MPU6050 Found!");
|
||||
|
||||
mpu.setAccelerometerRange(MPU6050_RANGE_4_G);
|
||||
//mpu.setAccelerometerRange(MPU6050_RANGE_4_G);
|
||||
mpu.setAccelerometerRange(MPU6050_RANGE_16_G);
|
||||
Serial.print("Accelerometer range set to: ");
|
||||
switch (mpu.getAccelerometerRange()) {
|
||||
case MPU6050_RANGE_2_G:
|
||||
@ -32,7 +33,8 @@ void gyro_setup(){
|
||||
Serial.println("+-16G");
|
||||
break;
|
||||
}
|
||||
mpu.setGyroRange(MPU6050_RANGE_500_DEG);
|
||||
//mpu.setGyroRange(MPU6050_RANGE_500_DEG);
|
||||
mpu.setGyroRange(MPU6050_RANGE_2000_DEG);
|
||||
Serial.print("Gyro range set to: ");
|
||||
switch (mpu.getGyroRange()) {
|
||||
case MPU6050_RANGE_250_DEG:
|
||||
|
Loading…
Reference in New Issue
Block a user