example code for using serial stepper firmware