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 View.
The following properties can be changed for the PWM pin element:
The name of the element.
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.
The frequency (in Hz) the PWM is set to.
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.