const byte directionPin = <your preferred value here>;
The PWM pin is left as an exercise for the reader.