Remote-processing BASIC 52 Bedienungsanleitung Seite 142

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 163
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 162 163

Kommentare zu diesen Handbüchern

Keine Kommentare