titibs29 / API_LED_PY

Block comment should start with # FLK-E265
Style
Minor
5 months ago2 years old
block comment should start with '# '
81        gpio.setmode(gpio.BOARD)
82        gpio.setup(pins, gpio.OUT, initial=defaultState)
83
84        #main server85        run(app, server='paste', host='0', port=3000)
86
87    finally:
block comment should start with '# '
77        for pin in pins:
78            states[pin] = defaultState
79
80        #setting up the pins81        gpio.setmode(gpio.BOARD)
82        gpio.setup(pins, gpio.OUT, initial=defaultState)
83
block comment should start with '# '
64def index():
65    return static_file("index.html", root="static")
66
67#create control route on /control68@app.get('/control')
69def control():
70    return static_file("control.html", root="static")