translator, wb_editors
4539
правок
(Новая страница: «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. | |||