Very important: Whenever the electric power is disconnected & then re-connected I want the device to automatically get back to the last value they had before shutting down. Now, There are few things i want to add 1 by 1 if you guys can help me. I also attached a main power switch to turn all the channels off/on using below code, which doesn’t seem to be working. Int pinValue = param.asInt() // assigning incoming value from pin V1 to a variable Uncomment your board, or configure a custom board in Settings.h #define BLYNK_DEVICE_NAME "DIY G5 Blue T" Fill-in information from your Blynk Template here Thanks to both of you for guiding me ( & ).įor others if it helps, I am uploading the code I used. I successfully managed to add 8 sliders and assigned them to separate pins. If someone wants to assist me to complete my project, it will be really helpful to me. Lastly, i need timer option, where i can set time to turn off/on to all the led’s with their last slider values/ settings. 1 master switch to turn off/on all the channels all-together. & 1 master slider to control all the channel brightness. I want to make an LED Light, where i will be able to control 8 Channel of led using 8 different slider. Sorry (as a new user, i can only upload 1 image in my post, I uploaded the error one, the working code is greyed out in the same screenshot (V0)) It would be much appreciated if anyone could help me out. Then tried to analogWrite the pin inside the code (as attached but failed to compile) I made a new datastream on V1 (Data type: Integer, Min:0, Max: 255). Then i wanted to control the led brightness using slider widget. Initially i started with a simple switch for the GPIO 2 (Blue led on board) with blynk.edgent example for esp32 (Code image attached). I have been trying to make a wifi led controller using Espressif ESP32 WROOM board. So, i am sorry if my question is inappropriate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |