ky1duck:
also is there a way to get it to just montor the serial port till it gets a command the go move move the stepper
I haven't studied your code very closely but it seems to me that is what it is already doing?
Maybe I don't see what you have in mind.
...R