PWM¶
Handles the PWM outputs on the VMX.
vi |
Attributes |
---|---|
PWM |
PWM initialization |
Write |
PWM writing |
PWM (vi)¶
Is a class that contains the code for setting the PWM value on the PWM ports on the VMX. Has only a HG_LIB
output.
Write¶
A vi that allows for writing the PWM value to the port specified by the Create ID
vi.
Name |
I/O |
Attribute |
---|---|---|
PWM in |
Input |
The input cluster from Create ID |
PWM |
Input |
The duty cycle to set the PWM to |
error in (no error) |
Input |
The error input cluster |
PWM out |
Output |
The output cluster to go to Delete ID |
error out |
Output |
The error output cluster |
PWM Example¶
This example shows the writing of a PWM value to a Servo on digital port 14 to make it move.