Pulse Width Modulation

Use the Raspberry Pi™ to create pulse-width-modulation (PWM) signals on GPIO pins

Functions

raspiCreate connection to Raspberry Pi hardware
writePWMFrequencyWrites PWM frequency to a GPIO pin
writePWMDutyCycleWrites PWM duty cycle to PWM pin
writePWMVoltageWrites average PWM voltage to a GPIO pin

Topics

The Raspberry Pi PWM

Raspberry Pi pulse-width modulation (PWM) module