Main Content

Pulse Width Modulation

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

Objects

raspiConnection to Raspberry Pi board

Functions

writePWMFrequencyWrites PWM frequency to a GPIO pin
writePWMDutyCycleWrites PWM duty cycle to PWM pin
writePWMVoltageWrites average PWM voltage to a GPIO pin

Topics