The following commands can be used to control the feedback functions of the Rockscan W100. This can be used to implement a good read / bad read function, for example.


Method

Name

Description

Void

controllerVoice(int voiceTime)

buzzer

Control of the buzzer

Void

controllerVibrator(int vibratorTime)

motor

Control of the vibration motor

Void

controllerLED(int ledTime)

Light

Control of the LED

Void

sendStringCmd(String cmd)


Send command




Examples:


  • Buzzer control command {Beep/XXX}, e.g. the buzzer can be activated for 100 ms by sending {Beep/100}
  • Motor control command {Motor/XXX}, e.g. by sending {Motor/100}, the motor vibration can be activated for 100 ms
  • LED control command {LED/XXX/Y}, e.g. by sending {LED/100/8}, the LED can be controlled so that it lights up for 100 ms and flashes eight times repeatedly.