PWM
Use the BeagleBone® Black pulse-width modulation module
Use BeagleBone Black to create pulse-width-modulation (PWM) signals on GPIO pins.
Objects
| beaglebone | Connection to BeagleBone Black hardware | 
Functions
| clear | Terminate connection to BeagleBone Black hardware | 
| showAllPins | Show diagram of all pins | 
| showPins | Show diagram of GPIO pins | 
| enablePWM | Enable PWM pin | 
| writePWMDutyCycle | Writes PWM duty cycle to PWM pin | 
| writePWMFrequency | Writes PWM frequency to PWM pin | 
| writePWMVoltage | Writes average PWM voltage to PWM pin | 
Topics
- Use BeagleBone Black PWM to Capture PWM MeasurementsThis example shows how to use the BeagleBone Black PWM to generate a square wave of given frequency and duty cycle. 
- BeagleBone Black PWMBeagleBone Black pulse-width modulation (PWM) module. 
- BeagleBone Black Pin MapDetailed description of BeagleBone Black pin map. 
Troubleshooting
Troubleshoot BeagleBone Black PWM
BeagleBone Black pulse-width modulation (PWM) module.