Sending multiple messages over CAN with sparkfun can bus shield

You say your code is different to the code posted above. We aren't going to spend any more time debugging that code. Please post the actual code you're using. Use the CTRL-T autoformat first.