public void runMixer(int motor, int time)
        {
                if (!isConnected())
                {
                        error("Robot is not connected!", "RXTXRobot", "runMixer");
                        return;
                }
                if (!getOverrideValidation() && (motor < RXTXRobot.MOTOR1 || motor > RXTXRobot.MOTOR4))
                {
                        error("You must supply a valid motor port: RXTXRobot.MOTOR1, MOTOR2, MOTOR3, or MOTOR4.", "RXTXRobot", "runMixer");
                        return;
                }
                if (!getOverrideValidation() && time < 0)
                {
                        error("You must supply a positive time.", "RXTXRobot", "runMixer");
                        return;
                }
                debug("Running mixer on port " + motor + " at speed " + getMixerSpeed() + " for time of " + time);
                if (!"".equals(sendRaw("d " + motor + " " + getMixerSpeed() + " " + time)))
                        sleep(time);
        }