Múltiples virtual write Reset the esp8266 nodemcu, How to Fix?

@John_Isaias_Florian I properly formatted your code for forum viewing. Please take note on how that was done, for the future. Thank you.