I just made an account to say thank you. I also declared a PIN as "7" not "D7" and it was causing the NodeMCU to reset. That fixed it!
I just made an account to say thank you. I also declared a PIN as "7" not "D7" and it was causing the NodeMCU to reset. That fixed it!