Serial motor control

Thanks for the response guys.

Holy Heck, sounds like there are a lot of holes in this code. I didn't write it, and I am battling to figure out how the serial aspect works and how to fix it.