ADC module to read temp and display it on LCD

Status
Not open for further replies.

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
 

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.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…