Leds zwak en feller knipperen

Goede middag, is het mogelijk om een ledje zwak te laten branden en doormiddel van een input het ledje feller te laten knipperen totdat een input het weer zwak te laten branden ?

Good afternoon, is it possible to leave an LED light on weakly and by means of an input to make the LED flash brighter until an input makes it light up weakly again?

Natuurlijk!
Dit is het engelstalige deel van het forum. Er is ook een nederlandse afdeling.
Als je je vragen in het nederlands wilt blijven stellen moet je de moderator vragen om je post te verplaatsen.
In het engels zijn er meer helpers, dus je krijgt meestal sneller antwoord.

Sorry heb het aangepast

Sorry did chance it

You can use PWM to fade an LED. You could use that to dim the LED in your program.

Only some pins have PWM, depending on your choice of boards. You can also use software PWM for the other pins.

goedenavond rob55

Take a view here to gain the knowledge.

https://create.arduino.cc/projecthub/muhammad-aqib/arduino-pwm-tutorial-ae9d71

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.