Skip to content

run motor indefinitely #4

@kenemar

Description

@kenemar

Hi, I'm fairly new to Clearpath; I just found this library a few days ago. I loaded up the SingleAxisDemo program onto my Arduino Uno and I was able to make it work with a Clearpath SD motor.
As far as I can find the only way to make the motor run is to call the move() function and specify the length of the move. Is there any way to use this library to tell the motor to run until you tell it to stop? In my case, I would like the motor to run while a digital input is true on the Arduino. Maybe this feature is there, and I just couldn't find it.
I'll appreciate any input!

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