diff --git a/garage.py b/IOTdevice.py
similarity index 81%
rename from garage.py
rename to IOTdevice.py
index b6aac84..80bd9b0 100644
--- a/garage.py
+++ b/IOTdevice.py
@@ -8,6 +8,8 @@ settings=json.loads(''.join(open('settings.json').readlines()))
# Create web server application
app = tinyweb.webserver()
+
+# Hardware Setup, e.g. Garage Door Remote
Button={}
for name in settings["buttons"].keys():
Button[name]=Pin(settings["buttons"][name]["pin"],Pin.OUT)
@@ -18,10 +20,10 @@ for name in settings["buttons"].keys():
async def index(request, response):
# Start HTTP response with content-type text/html
await response.start_html()
- # Send actual HTML page
+ # Send actual HTML page, in this example with three buttons
await response.send('''