Logo Search packages:      
Sourcecode: hamlib version File versions

int HAMLIB_API rot_move ( ROT rot,
int  direction,
int  speed 

move the rotator in the specified direction

rot The rot handle
direction Direction of movement
speed Speed of movement
Move the rotator in the specified direction. The speed is a value between 1 and 100.

Definition at line 650 of file rotator.c.

References rot::caps, and rot_caps::move.

        const struct rot_caps *caps;

        if (CHECK_ROT_ARG(rot))
            return -RIG_EINVAL;

        caps = rot->caps;

        if (caps->move == NULL)
            return -RIG_ENAVAIL;

        return caps->move(rot, direction, speed);

Generated by  Doxygen 1.6.0   Back to index