vibrate
Set a servomotor to shake or stop by assigning vibration level 1 or 0 to a specific motor, its ID, or all motors.
Instructions
Cause the motor to start to vary the voltage quickly and therefore to vibrate (or stop). [Firmware command "Vibrate", group: Device Management.] Parameters:
vibrationLevel: Vibration level (0 = turn off, 1 = turn on). Returns: success confirmation. motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| vibrationLevel | Yes |