Compare commits
No commits in common. "f82cd4aff2edb2ffe843916f0e12193dd90c3035" and "3c0ecd8203ef0d9a295c3eb126827f3302ba874a" have entirely different histories.
f82cd4aff2
...
3c0ecd8203
@ -8,7 +8,6 @@ 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)
|
||||||
|
|
||||||
@ -28,5 +27,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=True, host='0.0.0.0', port=8000)
|
# app.run(debug=False, host='0.0.0.0', port=8000)
|
||||||
|
Loading…
Reference in New Issue
Block a user