Pwm Block

Pwm Block

The PWM block is used to send PWM (Pulse-width Modulation) signals to a specified address.

Parameters

  • PWM Number (default = 0): The PWM pin to control.
    • For raspberry pi: If 0 or 1 is specified, the block will attempt to control one of the hardware PWM pins (PWM0 = GPIO 12; PWM1 = GPIO 13). Any other pin number will attempt to control the given GPIO pin using software PWM. For use-cases that require high frequency and/or high accuracy PWM signals, a hardware implementation is preferred.