improve gpio handler

This commit is contained in:
aaron
2022-07-17 13:28:07 +02:00
parent f776d0ed71
commit 2a6ce4b929
4 changed files with 90 additions and 74 deletions

View File

@@ -1,8 +1,9 @@
from beertap import create_app
from gpio_handler import gpio_test
from gpio_handler import create_output
app = create_app()
output = create_output()
if __name__ == "__main__":
gpio_test()
output.gpio_test()
app.run(debug=True)