Added gyro temp
This commit is contained in:
@ -211,6 +211,7 @@ bool GyroSensor::read() {
|
||||
} else {
|
||||
validValue = true;
|
||||
angle = calculateAngle( raw );
|
||||
sensorTemp = ((float) raw.temp) / 340 + 36.53;
|
||||
//Log.notice(F("GYRO: Calculated angle %F" CR), angle );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user