PureData CEAMMC web documentation

PureData CEAMMC library web documentation

View on GitHub

Distribution download

index :: hw

hw.rpi.pwm

hardware PWM output for RaspberryPi

available since version: 0.9.8


information

|| Versions <5.0 The BCM283x SoC supports 2 hardware PWM channels. By default, the channels are mapped as follows: • PWM0 = GPIO12/GPIO18 • PWM1 = GPIO13/GPIO19 Consult the official documentation on how to enable and configure these. Note: the Raspberry Pi?s analog audio output uses both PWM channels. Playing audio and simultaneously accessing a PWM channel may cause issues. ~ || Raspberry Pi 5 and later The Raspberry Pi 5 support 4 hardware PWM channels. By default, the channels are mapped as follows: • PWM0 = GPIO12 • PWM1 = GPIO13 • PWM2 = GPIO18 • PWM3 = GPIO19 Consult the official documentation on how to enable and configure these. ~ Some of the GPIO pins capable of supporting hardware PWM can also be configured for use with other peripherals. Be careful not to enable two peripherals on the same pin at the same time.

example

arguments:

methods:

properties:

inlets:

outlets:

keywords:

pwm hawdware rpi raspberry

Authors: Serge Poltavsky

License: GPL3 or later