Hello,
I am a new here, I have just learnt ESP8266 and known about BLYNK for 2 weeks.
I got a lot of problems understand code when using esp8266 to blynk. I cannot find code of the slider in Blynk. I want to control a speed fan by using slider. I read some example code but i cannot understand it. Please help me!!!
Thank you for your support.
Start with a simple on/off button widget so you’ll learn how to send data from app to hardware.
http://docs.blynk.cc/#blynk-main-operations-send-data-from-app-to-hardware
And if I’m not mistaken, you could find user examples in the Projects made with Blynk section of the forum.
Thank you distans,
However, " param.asInt()" I still do not understand this code. I used it but Arduino IDE alarm ERROR.
If you don’t understand that, you really need to start reading the documentation - From top to bottom! Then start with the basics from the Sketch Builder and work your way up!
We have an examples page also, please check this one:
https://examples.blynk.cc/?board=ESP8266&shield=ESP8266%20WiFi&example=GettingStarted%2FGetData
And do not forget to install Blynk library before trying to compile examples code.