add CPU Temp

This commit is contained in:
phlupp
2020-09-20 20:47:18 +02:00
committed by GitHub
parent 51bca222c0
commit 05cdc99079

View File

@@ -167,3 +167,9 @@ string toUpper(string in)
return in;
}
// CPU Temp
extern "C" uint8_t temprature_sens_read();
float temperatureRead()
{
return (temprature_sens_read() - 32) / 1.8;
}