Need Help Big Noob PS2/MD10R2 Shield

thank you for your short reply !
We can use digital port from 2 to 9 ! ( i only use 10,11,12,13 for ps2 controler )
but I don't know how to write on the script to control they shield (md10 r2 cytron ) ... sorry i'm big noob ...