Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4406

Python • Coding leds brighten when mechanical switches are held or pressed down.

$
0
0
I want to code five single color leds to to be dimmed when the corresponding mechanical switches arent being pressed. I then want them to be fully bright when I am pressing or holding down the corresponding mechanical switches. How would I code this in thonny?

Statistics: Posted by MrHowler — Fri May 10, 2024 2:30 pm — Replies 1 — Views 29



Viewing all articles
Browse latest Browse all 4406

Trending Articles