Dimming LEDs up and down with a button - Arduino Series

Опубликовано: 09 Июнь 2026
на канале: Patrick.
3,143
58

Additional help is available ONLY in the community: https://linktr.ee/patrickhauswald

In this video, I'll show you how to use a button to dim an LED the traditional way. A single, short click turns it on fully, and holding it down dims it up. If you repeat the action, the LED will either turn off completely or dim down slowly.

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

If you liked the video, I'd appreciate your feedback.

Don't want to miss any new videos?
Then subscribe to my channel for free:
   / @patrick.  

and/or

Support me on Patreon:
  / pathtm  

Alternatively, you can order on Amazon using this link and I will receive a small commission:
https://amzn.to/2SOHHiE *

Link to OneButton library:
https://github.com/mathertel/OneButton

Link to the circuit:
https://mega.nz/file/emZ1kYoT#vFua2eT...

Link to Program code:
https://mega.nz/file/iyJVWSbC#OiuiwUT...

Have a nice day everyone :)

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
The links marked with * are affiliate links.
This means I receive a small commission if you purchase something through the link. Of course, the price remains the same for you.
I would be very grateful for your support :)