I am using a 6 motor wicked device motor shield in conjunction with a ps2 controller. But when I call m1->setDirection (DIR_CW) or m1->setDirection (DIR_CCW) the direction doesn’t change. Any help on this would be appreciated.
Have you tried running the library example? It basically demonstrates all the functions.
You might also try powering the arduino and motors from separate power sources, with the vin jumper disconnected on the motor shield board.