flask gpio test
This commit is contained in:
parent
50db88150d
commit
98bb854612
@ -28,6 +28,7 @@ def main():
|
||||
pins[pin]['state'] = GPIO.input(pin)
|
||||
for pin in pins_in:
|
||||
pins[pin]['state'] = GPIO.input(pin)
|
||||
|
||||
# Put the pin dictionary into the template data dictionary:
|
||||
templateData = {
|
||||
'pins' : pins,
|
||||
|
Loading…
x
Reference in New Issue
Block a user