Create function
This commit is contained in:
@@ -23,3 +23,5 @@ def getValues(sensor):
|
|||||||
sensor.exit()
|
sensor.exit()
|
||||||
raise error
|
raise error
|
||||||
return temp, humidity
|
return temp, humidity
|
||||||
|
|
||||||
|
getValues()
|
||||||
Reference in New Issue
Block a user