Generalised from Garage door remote to general IOT framework. WIP

This commit is contained in:
2020-10-20 13:10:05 +03:00
parent 0cd8ee1219
commit 8f45a5a387
2 changed files with 10 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ import json
import time
from machine import Pin
import LED
import garage
import IOTdevice
#import settings
settings=json.loads(''.join(open('settings.json').readlines()))
@@ -50,4 +50,4 @@ def AP():
netstop()
if STA() != True:
AP()
garage.run()
IOTdevice.run()