Modifications

Sauter à la navigation Sauter à la recherche
318 octets supprimés ,  2 novembre 2024 à 12:37
Ligne 20 : Ligne 20 :  
[[Fichier:ENG-CANSAT-FEATHER-PICO-pwm-02.png|800px]]
 
[[Fichier:ENG-CANSAT-FEATHER-PICO-pwm-02.png|800px]]
   −
Evidement, un cycle utile de 0% est équivalent à un signal BAS tandis qu'un cycle utile à 100% correspond à un signal haut.
+
Evidemment, un cycle utile de 0% est équivalent à un signal BAS tandis qu'un cycle utile à 100% correspond à un signal HAUT.
−
 
  −
In the following example, we will use PWM to dim the light on the onbloard LED.
  −
 
  −
The onboard LED is tied to the GPIO 25 (and PWM will work there as with other GPIOs).
  −
 
  −
Thank to PWM we can effectively control the LED luminosity (very low duty cycle will dim the light while highest duty cycle will make it brightest).
      
== Cas pratique ==
 
== Cas pratique ==
32 920

modifications

Menu de navigation