klasse motor test
This commit is contained in:
parent
d2b6768274
commit
b805cbe501
@ -38,7 +38,7 @@ def action(changePin, action):
|
||||
# Convert the pin from the URL into an integer:
|
||||
changePin = int(changePin)
|
||||
# Get the device name for the pin being changed:
|
||||
deviceName = pins[changePin]['name']
|
||||
deviceName = pins_out[changePin]['name']
|
||||
# If the action part of the URL is "on," execute the code indented below:
|
||||
if action == "on":
|
||||
# Set the pin high:
|
||||
|
Loading…
x
Reference in New Issue
Block a user