Usted está aquí: Recursos de TI-Innovator™ Hub > Comandos del TI-Innovator™ Hub > SET > VIB.MOTOR i [TO] PWM

VIB.MOTOR i [TO] PWM

Comando:

VIB.MOTOR i [TO] PWM

 

Comando
Sintaxis:

SET VIB.MOTOR i [TO] PWM

Rango:

PWM de 0 (ninguno) y 255 (máximo)

Descripción:

Interfaz de control del motor de vibración.

Resultado:

Vibraciones: intensidad es un valor de 0 a 255.

Tipo o
Referenciable
Componente:

Control

Hoja de datos del VIB.MOTOR

 

VIB.MOTOR i [TO] OFF|STOP

Comando:

VIB.MOTOR i [TO] OFF|STOP

 

Sintaxis del comando:

SET VIB.MOTOR i OFF|STOP

 

Rango:

 

Descripción:

Interfaz de control del motor de vibración.

SET VIB.MOTOR i OFF|STOP: detiene las vibraciones

Resultado:

Apaga el motor de vibración.

Tipo o
Componente referenciable:

Control

Hoja de datos del VIB.MOTOR

 

VIB.MOTOR i [TO] 0-255/UP/DOWN/ON/OFF [[BLINK|TOGGLE] freq] [[TIME] segundos]

Comando:

VIB.MOTOR i [TO] 0-255/UP/DOWN/ON/OFF [[BLINK|TOGGLE] freq] [[TIME] segundos]

 

Sintaxis del comando:

SET VIB.MOTOR i 0-255/UP/DOWN/ON/OFF [[BLINK|TOGGLE] freq] [[TIME] segundos]

Rango:

PWM de 0 (ninguno) y 255 (máximo)

Descripción:

Ejecutar el motor de vibración con numerosas opciones

Resultado:

Ejecutar el motor de vibración con numerosas opciones

Parámetro de tiempo opcional utilizado para especificar cuánto tiempo debe rotar la vibración en segundos.

Tipo o
Componente referenciable:

Control