Nov 18, 2015 #1 K kaminfo Newbie level 1 Joined Mar 22, 2015 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 14 thx u advance in programm of use ADC to read temp and disply it on LCD what did mean the instruction Code: temp = (temp_res * VREF)/10.240; // Calculate temperature in Celsuis why division by 10.240 is necessry
thx u advance in programm of use ADC to read temp and disply it on LCD what did mean the instruction Code: temp = (temp_res * VREF)/10.240; // Calculate temperature in Celsuis why division by 10.240 is necessry
Nov 18, 2015 #2 andre_luis Super Moderator Staff member Joined Nov 7, 2006 Messages 9,595 Helped 1,190 Reputation 2,399 Reaction score 1,208 Trophy points 1,403 Location Brazil Activity points 55,684 It is just scaling the input to fit the temperature range at the same rate. You could understand as a digital amplifier, giving the necessary gain/attenuation.
It is just scaling the input to fit the temperature range at the same rate. You could understand as a digital amplifier, giving the necessary gain/attenuation.