parent
1c282ca7c6
commit
520b374ace
2
main.py
2
main.py
|
@ -142,7 +142,7 @@ if __name__ == '__main__':
|
||||||
mode = 1
|
mode = 1
|
||||||
return 'Color: '+str(r)+','+str(g)+','+str(b)
|
return 'Color: '+str(r)+','+str(g)+','+str(b)
|
||||||
|
|
||||||
@app.route('/power', methods=['GET'])
|
@app.route('/power')
|
||||||
def power():
|
def power():
|
||||||
if power == True:
|
if power == True:
|
||||||
power = False
|
power = False
|
||||||
|
|
Loading…
Reference in New Issue