Modifications

Sauter à la navigation Sauter à la recherche
35 octets ajoutés ,  13 novembre 2014 à 07:34
Ligne 35 : Ligne 35 :     
== Sorties PWM ==
 
== Sorties PWM ==
Aussi appelées sorties analogiques.
+
Aussi appelées "sorties analogiques", ce terme pouvant conduire à des erreurs d'appréciation, comme il est largement utilisé par la communauté Arduino.
   −
{{traduction}}
+
Les broches sont configurées en sortie (''output'') mais la valeur en sortie n'est pas une tension analogique mais plutôt un signal PWM avec un cycle utile pouvant varier sur la totalité de la puissance du signal. On the Core, the PWM signals have a resolution of 8 bits and run at a frequency of 500Hz.
 
  −
This term is misleading and misused but is widely adopted in the Arduino community. The pins that are set to output an analog value don't actually output an analog voltage but rather produce a PWM signal whose duty cycle can be varied thus varying the total average power of the signal. On the Core, the PWM signals have a resolution of 8 bits and run at a frequency of 500Hz.
      
Having said that, the user can send analog values to the pins using the function '''analogWrite()'''.
 
Having said that, the user can send analog values to the pins using the function '''analogWrite()'''.
29 918

modifications

Menu de navigation