Compare commits
No commits in common. "3c0ecd8203ef0d9a295c3eb126827f3302ba874a" and "f82cd4aff2edb2ffe843916f0e12193dd90c3035" have entirely different histories.
3c0ecd8203
...
f82cd4aff2
@ -8,6 +8,7 @@ import RPi.GPIO as GPIO
|
|||||||
|
|
||||||
RELAY_1 = 26
|
RELAY_1 = 26
|
||||||
|
|
||||||
|
GPIO.setwarnings(False)
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
GPIO.setup(RELAY_1,GPIO.OUT)
|
GPIO.setup(RELAY_1,GPIO.OUT)
|
||||||
|
|
||||||
@ -27,5 +28,5 @@ def reroute(state):
|
|||||||
response = make_response(redirect(url_for('index')))
|
response = make_response(redirect(url_for('index')))
|
||||||
return response
|
return response
|
||||||
|
|
||||||
#if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# app.run(debug=False, host='0.0.0.0', port=8000)
|
app.run(debug=True, host='0.0.0.0', port=8000)
|
||||||
|
Loading…
Reference in New Issue
Block a user