Reference.StepperStep History

Hide minor edits - Show changes to markup

June 04, 2010, at 02:03 PM by Equipo Traduccion -
June 04, 2010, at 02:02 PM by Equipo Traduccion -
Changed lines 9-16 from:

steps: the number of steps to turn the motor - positive to turn one direction, negative to turn the other (int)

Returns

None

See also

to:

pasos: el número de pasos que girará el motor - si son positivos avanza en una dirección, si son negativos girará al revés. (int)

Retorno

Ninguno

Ver también

June 04, 2010, at 02:00 PM by Equipo Traduccion -
Changed lines 5-10 from:

Gira el motor el número especificado de pasos, a una velocidad determinada por la llamada más reciente a la función setSpeed(). Esta función

Turns the motor a specific number of steps, at a speed determined by the most recent call to setSpeed(). This function is blocking; that is, it will wait until the motor has finished moving to pass control to the next line in your sketch. For example, if you set the speed to, say, 1 RPM and called step(100) on a 100-step motor, this function would take a full minute to run. For better control, keep the speed high and only go a few steps with each call to step().

Parameters

to:

Gira el motor el número especificado de pasos, a una velocidad determinada por la llamada más reciente a la función setSpeed(). Esta función es bloqueante; esto es, esperará a finalizar el movimiento para devolver el control a la siguiente linea de tu sketch. Por ejemplo, si estableces la velocidad a, digamos, 1 RPM y llamas a step(100) con un motor de 100 pasos, esta función tardará un minuto en ejecutarse.Para un mejor control, mantén la velocidad alta y avanza sólo unos pocos pasos con cada llamada a step().

Parámetros

June 04, 2010, at 01:56 PM by Equipo Traduccion -
Changed lines 1-4 from:

Stepper: step(steps)

Description

to:

Stepper: step(pasos)

Descripción

Gira el motor el número especificado de pasos, a una velocidad determinada por la llamada más reciente a la función setSpeed(). Esta función

May 17, 2007, at 05:12 PM by David A. Mellis -
Changed lines 5-6 from:

Turns the motor a specific number of steps, at a speed determined by the most recent call to setSpeed(). This function is blocking; that is, it will wait until the motor has finished moving to pass control to the next line in your sketch.

to:

Turns the motor a specific number of steps, at a speed determined by the most recent call to setSpeed(). This function is blocking; that is, it will wait until the motor has finished moving to pass control to the next line in your sketch. For example, if you set the speed to, say, 1 RPM and called step(100) on a 100-step motor, this function would take a full minute to run. For better control, keep the speed high and only go a few steps with each call to step().

May 17, 2007, at 05:08 PM by David A. Mellis -
Added lines 1-19:

Stepper: step(steps)

Description

Turns the motor a specific number of steps, at a speed determined by the most recent call to setSpeed(). This function is blocking; that is, it will wait until the motor has finished moving to pass control to the next line in your sketch.

Parameters

steps: the number of steps to turn the motor - positive to turn one direction, negative to turn the other (int)

Returns

None

See also

Share