sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 39 forks source link

getTempDegF() #277

Closed paulvha closed 4 years ago

paulvha commented 4 years ago

The sketch AnalogRead.ino and the function name getTempDegF() give the wrong impression that the temperature returned is in Fahrenheit, where it is in reality Celsius.

Solution Either the function needs to be changed to return Fahrenheit or the update to the documentation. Ideally however a function getTempDegC() is added in CommonAnalog.cpp. The code is already there :-)

regards, Paul