Remote-processing BASIC 52 Manuel d'utilisateur Page 142

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 141
RPBASIC-52 PROGRAMMING GUIDE
2-123
CONFIG FREQ
Syntax: CONFIG FREQ channel,interval
Where: channel = counter num ber, 0 or 1
interval = number of 5 milli-second periods between readings. Range is 1 to 255. An
interval of 0 turns off this multitasking routine.
Function: Sets up multitasking to read a counter every interval. The counter is read using the FREQ command.
Mode: Command, Run
Use: CONFIG FREQ 0,100
Cards: RPC-210, RPC-320, RPC -330 (cards with LSI 7166 counter chip)
DESCRIPTION
Comm and sets up RPBASIC operating system so FREQ function can operate. This comm and defines a
counter and time interval between counter reads.
Longer interval smooths out readings. Short intervals (interval between 1 and 10) are not recommended.
RELATED
FREQ
ERROR
BAD ARGUMENT channel > 0 or 1 (depending upon the card)
interval > 255
EXAMPLE
See the FREQ command for an example.
Vue de la page 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 162 163

Commentaires sur ces manuels

Pas de commentaire