Added gyro temp

This commit is contained in:
Magnus
2021-03-29 20:41:58 +02:00
parent 09cc5e35b6
commit 22defdadc0
6 changed files with 11 additions and 6 deletions

View File

@ -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 );
}