-->
Page 1 of 1

save the last position of pin in init.lua when restart.

PostPosted: Tue Aug 23, 2016 2:17 pm
by kamal sonani
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.