Control 4 RCZ-SRC1-B Spécifications Page 71

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 93
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 70
A(D
OF
SINGLE
CHANNEL
The
following
BASIC
program
will:
CONTINUOUSLY
CONVERT
CHANNEL
ZERO
AND
PRINT
THE
RESULTS
ON
THE
TERMINAL.
BASIC:
10
OUT(16)=04
o"i"
(
','f
Set
Command
to
Load
Enable,
No
Auto
Incrementing
20
OUT(l8)=00
0'
Ii
}O
Set
Channel
to
0
30
OUT(20)=00
0
} 0
Start Conversion
p
40
IF
IN(16)(128=0~GOTO
40
Wa
it
for
"DONE"
bit
<~HoJ
50
A=IN(l8)
INPUT
La
Byte
60
B=IN(20)
INPUT
Hi
Byte
70
PRINTX~·Ii.A
PRINT
ih
Hex
80
GOTO
30
Go
Back
and
Repeat
Note:
Line
40
makes
special
use
of
INTEGER
BASIC
to isolate the
"OONE"
Bi
t.
64
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 92 93

Commentaires sur ces manuels

Pas de commentaire