Hi guys! I’m new to using the Blynk app and I’m using it for a project that also involves using a Raspberry Pi 3. I’m able to control 1 set of GPIO LED lights with one button… but I was hoping to be able to control 2 sets of buttons but that one of the buttons control one of the set while the other controls the other. Any suggestions would be helpful. Thanks
Probably just adding a 2nd button and duplicating the code you already have to accommodate it… but you would have to show us the code to be sure
The code I used for the one set of lights were from a youtube channel, but I can’t remember the link that was posted with the program. But here is the program :
I have two breadboards each with a set of lights connected to 1 raspberry device, but when I added a new button for the second breadboard only one button worked. Thank you
I actually tinkered around and got the lights working just the way I want them. I realized you couldn’t not place them in the same Python file but separately and changed the GPIO PIN number. Thanks for the suggestion! Really helped me and my partner a lot!
next time please post code with copy / paste and properly formatted!
it is much more recyclable / readable than photos. if someone minds to try your code he just can c/p, not needed to type it all again…