12 063
правки
(Новая страница: «Setting the duty_cycle (the duration of the high state) in nanoseconds. Maximum volume is reached at duty_cycle = period / 2») |
(Новая страница: «<pre> echo 125000 > /sys/class/pwm/pwmchip0/pwm2/duty_cycle #set duty_cycle to 125 000 NS, i.e. in half of the period </pre>») |
||
Строка 25: | Строка 25: | ||
<pre> | <pre> | ||
echo 125000 > /sys/class/pwm/pwmchip0/pwm2/duty_cycle # | echo 125000 > /sys/class/pwm/pwmchip0/pwm2/duty_cycle #set duty_cycle to 125 000 NS, i.e. in half of the period | ||
</pre> | </pre> | ||
правки