Greetings fellow programmers! Yesterday I asked a question on how to install blynk for python3, and thanks to some generous help I got it to install itself. However, now I need to know how to control Widget LEDs on the app through python. As it turns out, no tutorials exist on how to do this. I checked Youtube, The official blynk website, and other reliable sources. Can anyone here tell me how to do this or at least point me to a tutorial that I might have overlooked?
Well everyone, if you have the same problem I would recommend joining the Blynk community. Their site is a lot like this one to find answers. Use these commands to turn it on and off.
#to turn it on blynk.virtual_write(10,255) # to turn it off blynk.virtual_write(10,0)
I would not expect immediate results because it takes a few seconds for python to connect to Blynk. So I would run this code in a loop, waiting a few seconds between commands.