summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-02-26 09:48:03 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-02-26 09:48:03 -0500
commit5cc18dc0df7eb13c537ad46ba5f3411e0d396be4 (patch)
treec8bcf618c251048e67869b8f50d2af1d7e9421b4 /main.lua
parentf785313415cc0c2e18c931f837facb8a0ce3cb12 (diff)
downloadnodeMCU_rf_source_lmx2487-5cc18dc0df7eb13c537ad46ba5f3411e0d396be4.tar.gz
nodeMCU_rf_source_lmx2487-5cc18dc0df7eb13c537ad46ba5f3411e0d396be4.zip
bare minimum init files
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua20
1 files changed, 3 insertions, 17 deletions
diff --git a/main.lua b/main.lua
index 9b6c6b9..3636958 100644
--- a/main.lua
+++ b/main.lua
@@ -1,19 +1,5 @@
-if local_config.relay_present then
- -- Setup relay
- dofile("relay_switch.lua")(relay_pin_default_setting)
-end
+dofile("microwire.lc")
+dofile("lmx2487lib.lc")
+collectgarbage()
-if local_config.display_present and not local_config.relay_present then
- -- display and relay use the same pin
- -- so in the presence of relay display should be off to avoid sporadic runs
- dofile("display_setup.lua")
- --dofile("draw.lua")
- dofile("update_display.lua")
-end
-
-dofile("wifi_config.lua")
-dofile("update_time.lua")
---dofile("update_weather.lua")
-
---s=dofile("httpserver.lc")(80)