I want to slowly increase and decrease the brightness of a string of LEDs using PWM.
What is the best solution? I can see 3 possibilities:
1) Write a Node-red function to send an increasing (or decreasing) variable to ehe ESP PWM command.
2) Using the ESP rules - but I can't see how to store a variable that is incremented or decremented on a timer loop.
3) Modify a plugin to perform this ramp-up or rampdown function.
Any better ideas - or suggestions for options 2 or 3 above?
Dimming and brightening using PWM
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Dimming and brightening using PWM
Regarding 2)
You can use a dummy device for that. Search the forum and you'll find more on this topic.
You can use a dummy device for that. Search the forum and you'll find more on this topic.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: No registered users and 13 guests