Convert C into Arduino Uno 3

Well, do you see a problem here?

  pinMode(9, OUTPUT); //Initiates Brake Channel A pin

Or do you just want us to write the code for you?