public interface Haptic extends MetaWearBoard.Module
| Modifier and Type | Method and Description |
|---|---|
void |
startBuzzer(short pulseWidth)
Start pulsing a buzzer
|
void |
startMotor(float dutyCycle,
short pulseWidth)
Start pulsing a motor
|
void |
startMotor(short pulseWidth)
Start pulsing a motor with a duty cycle of 100%
|
void startMotor(short pulseWidth)
pulseWidth - How long to run the motor (ms)void startMotor(float dutyCycle,
short pulseWidth)
dutyCycle - Strength of the motor, between [0, 100] percentpulseWidth - How long to run the motor (ms)void startBuzzer(short pulseWidth)
pulseWidth - How long to run the buzzer (ms)