Argox PA-20 Basic Programming Manual Manuel d'utilisateur Page 88

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 143
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 142 143

Commentaires sur ces manuels

Pas de commentaire