How to control direction Rover 5 pcb?

I’m trying to get an old rover 5 up and running. I have very limited programming and arduino experience. The kit I have includes the chasis and a rover 5 PCB, and I’m using an arduino uno along with it. I found a manual for the kit online:http://robosavvy.com/RoboSavvyPages/Dagu/ExplorerPCB/ExplorerPCBInstructionsManual.pdf, and it says that the motor direction and speed can be controlled using the PWM and DIR pins. How do I control motor direction in the code using the DIR pins? I tried doing digitalWrite(pin_, LOW/HIGH) but that doesnt seem to change the motor direction. Help pls.

Hello @jamjambinks and welcome to the forum!

Could you share the complete code you are using?
Also, please make sure you are writing into the correct digital pins.

As you said, the function digitalWrite is exactly the one you need to change the direction. If it helps, here’s a tutorial on how to control motors with Arduino: