where can i get  information on errors?

When posting code be sure to use the # button in the message window to attach the proper tags. Be sure to download and install the library into the Library folder.

BTW your are using the AFmotor shield, right?