Change variable name from timer to timer_sleep_esp to make the code readable Move worker logic from loop to a dowork fuction. Call dowork after a 10 second timer has expired. This makes the loop body small and fasts. Helps in syncing state from BLYNK server. Byt the time dowork gets called at timer expiry, all pins are already sycned from BLYNK server. Change the V7 button from Push to Switch. If ON, then use the ON value for processing and switch it back to OFF after we are done
Change variable name from timer to timer_sleep_esp to make the code
readable
Move worker logic from loop to a dowork fuction.
Call dowork after a 10 second timer has expired. This makes the loop body
small and fasts. Helps in syncing state from BLYNK server. Byt the time
dowork gets called at timer expiry, all pins are already sycned from BLYNK
server.
Change the V7 button from Push to Switch. If ON, then use the ON value for
processing and switch it back to OFF after we are done

fuzzyhandle/esp8266hangout,fuzzyhandle/esp8266hangout,fuzzyhandle/esp8266hangout