Skip to content

Stepper Motor does not move with Mb.run () #8

@LolloMazzy

Description

@LolloMazzy

Why my stepper motor doesn't move with the instruction Mb.run() every loop, instead with this delay it can?

void loop() {
if ((millis() - updateMB) >= 50) {
Mb.Run(); // funzione per update dati da/a ModBus
updateMB = millis();
}
stepper.setSpeed(vel);
stepper.runSpeed();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions