Fixed bug
This commit is contained in:
parent
a150509598
commit
53218b64aa
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def main():
|
||||||
value = 0
|
value = 0
|
||||||
|
|
||||||
# Convert value in readable Volt or Celcius
|
# Convert value in readable Volt or Celcius
|
||||||
if ( CHANNELL == 0 ):
|
if ( CHANNEL == 0 ):
|
||||||
value = convertToVoltage(ad_value)
|
value = convertToVoltage(ad_value)
|
||||||
else:
|
else:
|
||||||
value = convertToCelcius(ad_value)
|
value = convertToCelcius(ad_value)
|
||||||
|
|
Loading…
Reference in a new issue