I am a newbie to Blynk and I came up with an RGB LED strip Project . I have the blynk app on my android phone and I created a project on the esp8266 and added the widget zeRGBa to control the RGB strip. It worked fine but I am thinking to add the button widget to turn the lights on and off and the slider widget to control the brithness
Is it possible and can you maybe provide me with the code?
All help apriciated
Hello, we have a bunch of examples. Did you look into them? They are pretty self-descriptive. For instance here example of how you could catch button “press” event. If you put your button on virtual pin 1.
BLYNK_WRITE(V1)
{
if (param.asInt()) {
//button presed
} else {
//button released
}
}
I know zeRGBA can but i still want to add another widget but how. Can you provide me with the code.
One last question. I am using the ESP8266 standalone and when a GPIO is set high the voltage is only 3.6 volt, I expected 5 volt
I’m struggling to understand. I know I need to use a virtual pin to have a button turn my 5mm RGB LED on and off but I do not know how to assign the 3 digital pins to the 1 virtual pin.
My digital pins are D6,7,8 and I want to assign them to V1 so that I can have a button.
If there’s anything you don’t understand then create a new “Need help with my project” topic, and provide ALL of the relevant information that is requested when the topic is created.