bryang078:
Can anyone give me ideas of how to write a code for an arduino that will allow me to control motors with what I've got?
Not without knowing what you actually have.
And when posting code, please use code tags to make it readable, as is outlined in the "How to use this forum" sticky that's prominently in bold face at the top of the forum (which you should have but probably didn't actually read).