Let's Make Robots!

Rover 5 - Dagu Spider and 4 Channel Motor Controller

Ok so i recently purchased the Rover 5 Kit from Robotsavvy by Dagu.

With Help from Oddbot i have put wires from the encoder into the Motor Controller (in the right place i think)

But i have no idea which pins go to the arduino and also where on the arduino they go to.


Image of what ive done and the question :


Any help would be appreciated.