Function call to move extruder motor?

Hi
could someone please point me the correct function to call in order to start/stop/move the extruder's stepper motor?
I am implementing some functionality of mine and I need to turn the knob and rotate the extruder's motor.Ideally, I could use a built in function to move in steps.Is there such function build in?
Thanks

Comments

  • In motion.cpp for class PrintLine we have

       static void moveRelativeDistanceInSteps(int32_t x,int32_t y,int32_t z,int32_t e,float feedrate,bool waitEnd,bool check_endstop);
        static void moveRelativeDistanceInStepsReal(int32_t x,int32_t y,int32_t z,int32_t e,float feedrate,bool waitEnd);

    These might be what you want.
Sign In or Register to comment.