Main Content

PWM

使用 BeagleBone® Black 脉冲宽度调制模块

使用 BeagleBone Black 在 GPIO 引脚上创建脉冲宽度调制 (PWM) 信号。

对象

beagleboneConnection to BeagleBone Black hardware

函数

clearTerminate connection to BeagleBone Black hardware
showAllPinsShow diagram of all pins
showPinsShow diagram of GPIO pins
enablePWMEnable PWM pin
writePWMDutyCycleWrites PWM duty cycle to PWM pin
writePWMFrequencyWrites PWM frequency to PWM pin
writePWMVoltageWrites average PWM voltage to PWM pin

主题

疑难解答

Troubleshoot BeagleBone Black PWM

BeagleBone Black pulse-width modulation (PWM) module.