#### Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Resolved by Dunning-Kruger!

## Convert Celsius To Fahrenheit

Can someone provide me script that takes the GetCpuTemp and converts it to F. I have tried and it keeps causing ezbuilder to crash.

Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!

Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
#1
Have you tried using this formula? ...
`Code:\$far = (GetCpuTmp() * 9/5) + 32`
PRO
USA
#2
No, I was assigning the GetCPUTemp to a variable and then doing the math with the variable. Will try and get back to you.
#3
Crashing ARC? That's not easy to do. I'd like to see your code.
Anyway, here is a method. I tried it and it does not crash.

\$CTemp is temperature in Celsius
\$FTemp is temperature in Farenheit

`Code:\$CTemp =GetCpuTemp()\$FTemp =(\$CTemp * 1.8) +32Print("Celsius ="+\$CTemp) #So you can see the results in the debug windowPrint("Farenheit ="+\$FTemp)`
#4
little more complex than Richard's answer, but tested...

`Code:#initialize variables\$temp = ""\$ftemp = ""#get cpu temp\$temp = getcputemp()#convert to f\$ftemp = \$temp * 1.8 + 32#display result You could also speak it, etc...print(\$ftemp)`

Alan
PRO
USA
#5
Perfect. Thank you.
#6
OK guys, all together now ...

Richard R._____
WBS___________\_____You're Welcome!
Alan___________/
PRO
USA
#7
Yes, the whole group is awesome and very quick to respond.
United Kingdom
#9
I'm still interested in seeing the original script, I've yet to crash ARC with a script and some of mine are insanely large and complex, I want to know what it takes to kill ARC