Argox PA-20 Basic Programming Manual Uživatelský manuál Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 143
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
PT-Basic Programming Manual Ver. 1.00 87/143
3.16 Vibrator commands
VIBRATOR_TIMER
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.
VIBRATOR
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%
0
1
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 142 143

Komentáře k této Příručce

Žádné komentáře