Stepping up the 5V output to 28V to control a stepper driver

Quote from the web page you linked to

can connect +5V or +28V

As @MarkT says, just connect it up.

There is no need to use PWM pins. Any PWM that happens takes place in the driver board where you can't see it, and don't need to.

See stepper motor basics for more background info and some sinple code for testing.

...R