Thermometer using attiny85

stp715a

Joined May 2, 2011
8
Any suggestions on how to modify sketch to read Fahrenheit decimals much appreciated. The change made as suggested reads the correct temperature but only after the TM1637 decimal point. Thanks for any ideas.
 

stp715a

Joined May 2, 2011
8
Rahul411m than you helping with your suggestion. Appreciate it. Your change reads correct temperature but after the decimal point. The only change required to correct this is to change the line:
double temp = sensors.getTempCByIndex(0);
to-
double temp = sensors.getTempFByIndex(0);

This change will read the temperature correctly with all four digits.

Thanks again for helping me find the solution.
 
Top