adding stepperMotor and RotaryEncoder