Explorer Hat Pro Motor control issues


I have recently purchased a explorer hat pro with the intention of building a small rover. I am using HAT with a PI 3 model B, Pololu tracked chassis and two 298:1 Micro Metal Gearmotors. I have setup the Pi, installed the HAT and can in python make the HAT LED’s flash so i know that it is working correctly. I cannot however make the motors work.

I have plugged them directly into the 5v supply and they work so can confirm the motors themselves are operational but don’t get any results when using the motor 1 & 2 connectors. I have in my python code imported the explorer hat libraries and can control other outputs. I have looked at many tutorials on how to issue commands to control motor headers but to no avail. Does anyone know of any issues likely to cause this or is it possible that it is faulty hardware?


can you post the code you are using for us to look at?