Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By kamal sonani
#53685 how to store changed variable as it is in init.lua file?

Ex:-

suppose i used GPIO 05 & GPIO 04
where first time in init.lua both are LOW.
but then GPIO 05 is HIGH & GPIO 04 is low

so how to change the last changed(on board) value as init.lua, that when module is restart previous pin value is as it is on start up.