|
|
|
|
26
|
ZERO = 273.15 # zero point of Kelvin scale
|
26
|
ZERO = 273.15 # zero point of Kelvin scale
|
27
|
VADC = 5 # ADC voltage
|
27
|
VADC = 5 # ADC voltage
|
28
|
VCC = 5 # supply voltage
|
28
|
VCC = 5 # supply voltage
|
29
|
-ARES = 2**10 # 10 Bit ADC resolution
|
|
|
|
|
29
|
+ARES = pow(2,10) # 10 Bit ADC resolution
|
30
|
VSTEP = VADC / ARES # ADC voltage resolution
|
30
|
VSTEP = VADC / ARES # ADC voltage resolution
|
31
|
TMIN = 0 # lowest temperature in table
|
31
|
TMIN = 0 # lowest temperature in table
|
32
|
TMAX = 350 # highest temperature in table
|
32
|
TMAX = 350 # highest temperature in table
|