Translations:Buzzer/7/en: различия между версиями

Материал из Wiren Board
(Новая страница: «<pre> echo 250000 > /sys/class/pwm/pwmchip0/pwm2/period # set the period to 250 000 NS, ie 250mks, which corresponds to a frequency of 4kHz </pre>»)
 
 
Строка 1: Строка 1:
<pre>
The gpio pin is configurable like the PWM output in the dts of the linux kernel. For more details, see [[https://github.com/wirenboard/linux/blob/ef2d87e222b365848fe7262c022ca887b6449432/arch/arm/boot/dts/imx6ul-wirenboard61.dts#L495 on our github]].
echo 250000 > /sys/class/pwm/pwmchip0/pwm2/period # set the period to 250 000 NS, ie 250mks, which corresponds to a frequency of 4kHz
</pre>

Текущая версия на 20:47, 22 сентября 2022

Определение сообщения (Buzzer)
Ножка gpio настраивается, как выход PWM в dts ядра linux. Подробнее можно посмотреть [[https://github.com/wirenboard/linux/blob/ef2d87e222b365848fe7262c022ca887b6449432/arch/arm/boot/dts/imx6ul-wirenboard61.dts#L495 на нашем github]].

The gpio pin is configurable like the PWM output in the dts of the linux kernel. For more details, see [on our github].