Translations:Buzzer/8/en: различия между версиями
(Новая страница: «Setting the duty_cycle (the duration of the high state) in nanoseconds. Maximum volume is reached at duty_cycle = period / 2») |
Matveevrj (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
*For WB6.X.X controllers, port number = 0, (for all controllers up to WB6.X.X, port number = 2) | |||
*The port number can be found by running <syntaxhighlight lang="bash">echo $WB_PWM_BUZZER</syntaxhighlight> | |||
In all examples below, we will assume that the pwm port number = 0. |
Текущая версия на 20:47, 22 сентября 2022
- For WB6.X.X controllers, port number = 0, (for all controllers up to WB6.X.X, port number = 2)
- The port number can be found by running
echo $WB_PWM_BUZZER
In all examples below, we will assume that the pwm port number = 0.