Contenu remplacé par « {{MicroPython-Hack-Prepare-NAV}} {{MicroPython-Hack-fading-core}} {{MicroPython-Hack-fading-TRAILER}} »
Ligne 1 :
Ligne 1 :
{{MicroPython-Hack-Prepare-NAV}}
{{MicroPython-Hack-Prepare-NAV}}
−
{{traduction}}
+
{{MicroPython-Hack-fading-core}}
−
−
== Contrôler la luminosité ==
−
{{bloc-etroit|text=In addition to turning LEDs on and off, it is also possible to control the brightness of an LED using Pulse-Width Modulation (PWM), a common technique for obtaining variable output from a digital pin. This allows us to fade an LED:}}
−
−
[[Fichier:MicroPython-Hack-fading.jpg]]
−
−
== Composants nécessaires ==
−
Vous aurez besoin:
−
−
* {{pl|66|LED standard 5mm}}
−
* {{pl|45|Résistance de 100 Ohm}}
−
* {{pl|34|Des fils}}
−
* {{pl|53|Breadboard}} (optionnel mais facilite beaucoup les choses)