PWM Pin Element

The PWM pin element is used to drive the pulse-width modifier (PWM) level of a valid PWM pin.

The PWM pin element is located in the Element Toolbox within Studio’s Embedded tab.


The following properties can be changed for the PWM pin element:


The name of the element.

PWM Instance

The PWM driver instance number to use. If unsure, leave it set to the default value.


The hardware’s PWM pin the element is connected to.

Frequency (Hz)

The frequency (in Hz) the PWM is set to.

Duty Cycle

The percentage the pin’s duty cycle operates at from 0-100%.


The following triggers are available to execute events from within the PWM pin element:


Execute an event when the source element connected to the PWM pin triggers.

Duty Cycle Set

Execute an event when the PWM’s duty cycle percentage is set.


The following abilities are available for the PWM pin element when its source element triggers:


Trigger the element(s) that follow the PWM pin element.

Set Duty Cycle

Set the pin’s duty cycle percentage.