Vibrator commands, 16 vibrator commands – Argox PA-20 Basic Programming Manual User Manual
Page 88

PT-Basic Programming Manual Ver. 1.00
87/143
3.16 Vibrator commands
Purpose: To set or get the vibrator timer.
Syntax: A% = VIBRATOR_TIMER
VIBRATOR_TIMER = X%
Example: VIBRATOR_TIMER=5
…
PRINT “Vibrator timer:”,VIBRATOR_TIMER
Description: A% is an integer variable to be assigned as the vibrator timer.
X% is an integer variable indicating a period of time in units
of 100ms.
Purpose: To set the vibrator on/off.
Syntax: VIBRATOR(N%)
Example:
VIBRATOR(1) „Vibrator on
'Wait 0.5 sec
WAIT(100)
VIBRATOR(0) „Vibrator off
Description: N% is an integer variable indicating vibrator on or off.
N%
Meaning
0
Vibrator off
1
Vibrator on