Modifications

Sauter à la navigation Sauter à la recherche
Ligne 34 : Ligne 34 :     
== Buzzer ==
 
== Buzzer ==
The buzzer {{polpl|1484}} included with the Romi 32U4 Control Board can be soldered into the designated through-holes and used to generate simple sounds and music. By default, it is connected to digital pin 6 (which also serves as OC4D, a hardware PWM output from the AVR’s 10-bit Timer4). If you alternate between driving the buzzer pin high and low at a given frequency, the buzzer will produce sound at that frequency. You can play notes and music with the buzzer using functions in the Romi32U4 library. If you want to use pin 6 for an alternate purpose, you can disconnect the buzzer circuit by cutting the surface-mount jumper next to the buzzer.
+
Le buzzer {{polpl|1484}} inclus sur la carte de contrôle Romi 32U4 peut être soudé sur l'emplacement traversant prévu à cet effet. Cela permet de générer des sons simples et de la musique. Le buzzer est connecté sur la broche digitale 6 (qui est aussi utilisée comme OC4D, une sortie PWM matérielle de l'AVR exploitant le Timer4 10-bits). If you alternate between driving the buzzer pin high and low at a given frequency, the buzzer will produce sound at that frequency. You can play notes and music with the buzzer using functions in the Romi32U4 library. If you want to use pin 6 for an alternate purpose, you can disconnect the buzzer circuit by cutting the surface-mount jumper next to the buzzer.
 
      
{{Pololu-Romi-32U4-TRAILER}}
 
{{Pololu-Romi-32U4-TRAILER}}
29 837

modifications

Menu de navigation