BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Can we use Virtual Pins to stop Sketch uploaded but continue with blynk.run() in NodeMCU?

esp8266

#1

Hi Guys,

I have started working on a new project. This one ain’t for a competition :sweat_smile:. Just need your help. I am using NodeMCU. I have uploaded a sketch on it using Arduino IDE for the functioning of LEDs in a pattern. Is there any way to stop the Sketch and use Blynk application to turn on LEDs in a desirable way which is different from my regular pattern. Is Virtual Pins a solution for this? I have tried my luck with Virtual Pins but since I don’t understand the logic and language of C as I have just started, I couldn’t suceed. Is there any way out?


#2

yes you can :joy:
just use timers to do the job you expect to be run , and disable timer to suspend the job.