motor shield help

this is what i have done for my script right now. just wondering if i am heading in the right direction.

thanks for the help in advance.

void setup() {
// put your setup code here, to run once:
pinMode(8,9,10,11);
pinMode(4,5,6,7);

speed = 30rpm;

}