Create function
This commit is contained in:
@@ -22,4 +22,6 @@ def getValues(sensor):
|
||||
except Exception as error:
|
||||
sensor.exit()
|
||||
raise error
|
||||
return temp, humidity
|
||||
return temp, humidity
|
||||
|
||||
getValues()
|
||||
Reference in New Issue
Block a user