when i manually start init.lua it works as supposed to.
i have ironed out all the main bugs and am only missing one which has to do with the ESP01 module.
when power is shut down, and reapplied init.lua does not start. when i connect to the module using esplorer it gives me the error Can't autodetect firmware, because proper answer not received.
i then click on reload and init.lua button appears under the reload.
i click the init.lua button and program starts to work as expected.
i have made the most progress following This Tutorial
i have a makerfire esp01 although specs says its 1mb flash, it works with 512
and i am using the nodemcu flasher with nodemcu build and i flash the default bin from the tutorial.
nodemcu_integer_0.9.6-dev_20150704.bin @ 0x00000
esp_init_data_default.bin @ 0x7C000
baud 115200
flash size 512kb
speed 40mhz
spimode dio