Translations:Buzzer/3/en: различия между версиями
(Новая страница: «Exporting port to sysfs: <pre> echo 2 > /sys/class/pwm/pwmchip0/export </pre>») |
Matveevrj (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
In the context of buzzer control, we are interested in 2 PWM parameters: | |||
* Duty cycle - affects the volume of the sound. Usually, it is considered as a percentage of the signal period. | |||
* PWM frequency (frequency) - affects the pitch (the higher the frequency, the higher the sound). The unit that is the reciprocal of the signal period. | |||
Текущая версия на 20:46, 22 сентября 2022
In the context of buzzer control, we are interested in 2 PWM parameters:
- Duty cycle - affects the volume of the sound. Usually, it is considered as a percentage of the signal period.
- PWM frequency (frequency) - affects the pitch (the higher the frequency, the higher the sound). The unit that is the reciprocal of the signal period.