code motor drive

hello
i have this motor drive

arduino uno and DC motor 24V 14A
i have did the connection like in the picture and also add the ENA and ENB and connect them to the DIGITAL on the arduino.
now i have tried to write simple code just to check but the motor always spinning
i tried to send all the PINS LOW but still the motor is spinning.
what am i missing???

i have did the connection like in the picture and also add the ENA and ENB and connect them to the DIGITAL on the arduino.

What do you mean by "the DIGITAL"? The enable pins go to two different pins on the Arduino.

what am i missing???

Your code!!!

i meant the digital on the arduino and the enbale goes to two diffrent pins
the code:
void setup(){
pinMode(2,OUTPUT)
.
.
(i did it to all the connections)
}
void loop(){
digitalWrite(2,LOW);
.
.
(i did it to all the connections)
}
something like that just for checking the drive. i know c++ but its my first time on arduino.

If you are not going to tell us which pins on the Arduino you connected stuff from the driver board to, and post ALL your code, you can not expect us to help you.

connections:
motor drive arduino
GND GND
VDD 5V
INB 4
INA 6
PWN 2
ENA 10
ENB 12
code:
#define pwn 2
#define inb 4
#define ina 6
#define ena 10
#define enb 12
void setup(){
pinMode(pwn,OUTPUT);
pinMode(inb,OUTPUT);
pinMode(ina,OUTPUT);
pinMode(ena,OUTPUT);
pinMode(enb,OUTPUT);
}
void loop(){
digitalWrite(pwn,LOW);
digitalWrite(inb,LOW);
digitalWrite(ina,LOW);
digitalWrite(ena,LOW);
digitalWrite(enb,LOW);
}
now no matter how i change it(LOW\HIGH) the motor is always spinnig.