Yes. Sorry, i wrote the code wrong in the example, but that’s the one i tried. I will edit that.
I tried again, and it seems my problem lies with the fact that i put the
led.on() in the
void setup() section.
Putting it anywhere else made it work for me.
Thank you very much for the quick reply, @Dmitriy!
I really don’t wan’t to sound like a pessimistic jerk, and I know you’ve just started this whole thing, but I really think that you should make some better “getting started” pages.
I know you have these codes, but i think it’s hard too understand them without a lot of comments, and in generally it took me a lot of time just to figure out, that that was your guidance pages.
Basicly, the code is good to show what you can use the LEDs for, but too complicated to help you understand how to just simply make it work in your own project.
If i were you, i would make a very clear startup page, that shows you exactly how to run Blynk on the specified board (the #include library and Blunk.run), and then a quick summary of the basic functions the library include. They don’t need to be comprehensive or in great detail, as long as they point you in the right direction, and you can search for eg. “How to turn on widget LED” and then get a page telling you to use the functions WidgetLED and led.setValue, and then maybe a very short piece of code, where you just turn on one LED.
If you’ve had that, getting as far as i’m right now would’nt have taken me 12 hours, but probably more like 2-3 hours.
At least that’s my opinion.
But helppage or not, this is still awesome, and i’m looking forward to implementing this in my project!
Thank you again!