Run the motor for the amount of time specified in `time_sp`
        and then stop the motor using the action specified by `stop_action`.

def run_timed(self, **kwargs):
        """
        Run the motor for the amount of time specified in `time_sp`
        and then stop the motor using the action specified by `stop_action`.
        """
        for key in kwargs:
            setattr(self, key, kwargs[key])
        self.command = self.COMMAND_RUN_TIMED