How do you code a 393 motor in v5 using a 3 wire port?

Linked below are several posts that have more information about controlling 393 motor connected to a 3-wire legacy port on V5 brain (obviously, via MC29 motor controller).

The keyword to know is vex::pwm_out class: