             out.print(F("\t motor set MaxSpeed "));
             uint16_t speed = atoi(&command[1]);
             out.print(speed);
-            // mosys::motor.setMaxSpeed(speed);
+            myStepperMotor.setMaxSpeed(speed);
             out.println();
         } break;
         case 'S': {
             out.print(F("\t motor get MaxSpeed:"));
             uint16_t speed;
-            // speed = mosys::motor.getMaxSpeed();
+            speed = myStepperMotor.getMaxSpeed();
             out.print(speed);
             out.println();
         } break;
         case 'C': {
             out.print(F("\t motor get current speed:"));
             uint16_t speed;
-            // speed = mosys::motor.getCurSpeed();
+            speed = myStepperMotor.getCurSpeed();
             out.print(speed);
             out.println();
         } break;

                out.print(F("\t   --> no second parameter given. used negative first."));
                out.println();
            }
            // mosys::motor.reverseLimit = limit_reverse;

            // print current/new limits
            out.print(F("\t   forwardLimit: "));
            // out.print(mosys::motor.forwardLimit);
            out.println();
            out.print(F("\t   reverseLimit: "));
            // out.print(mosys::motor.reverseLimit);
            out.println();
        } break;
        case 'L': {
            out.print(F("\t motor limits: "));
            out.println();
            out.print(F("\t   forwardLimit: "));
            // out.print(mosys::motor.forwardLimit);
            out.println();
            out.print(F("\t   reverseLimit: "));
            // out.print(mosys::motor.reverseLimit);
            out.println();
        } break;
        //------------------------------------------
        case 'D': {
            out.print(F("\t motor stop "));
            // mosys::motor.stop();
            out.println();
        } break;
        case 'd': {
            out.print(F("\t motor decelerate "));
            // mosys::motor.decelerate();
            out.println();
        } break;
        case 'r': {
            out.print(F("\t motor run forward "));
            // mosys::motor.moveTo(mosys::motor.forwardLimit);
            out.println();
        } break;
        case 'R': {
            out.print(F("\t motor run reverse "));
            // mosys::motor.moveTo(mosys::motor.reverseLimit);
            out.println();
        } break;
        //---------------------------------------------------------------------

                }
            }
            if(flag_value_valid) {
                myStepperManager.motor_print_mode(out, mode);
            }
            out.println();
        } break;
        case 'O': {
            out.print(F("\t motor get mode: "));
            uint16_t mode;
            mode = myStepperMotor.getDriveMode();
            myStepperManager.motor_print_mode(out, mode);
            out.println();
        } break;
        case 'e': {
