Pulse Width Modulation
Use Raspberry Pi® to create pulse-width-modulation (PWM) signals on GPIO pins
Use Raspberry Pi to create pulse-width-modulation (PWM) signals on GPIO pins. To use a
PWM pin, configure the GPIO pin as a PWM pin using the configurePin
function
Objects
raspi | Connection to Raspberry Pi board |
Functions
writePWMFrequency | Writes PWM frequency to a GPIO pin |
writePWMDutyCycle | Writes PWM duty cycle to PWM pin |
writePWMVoltage | Writes average PWM voltage to a GPIO pin |
Topics
- Raspberry Pi PWM
Raspberry Pi pulse-width modulation (PWM) module.