hello JamesCEO,
here’s related discussion thread for using Nano’s PWM, Running two simple DC motors (5 Amp) Forward and Backward in Jetson Nano
please have implementation, you may have a table for mapping your input settings to the target pwm values.