-
Notifications
You must be signed in to change notification settings - Fork 4
Command list
roysmeding edited this page Jun 9, 2012
·
5 revisions
Commands consist of: sync, destination addr, length of data + checksum, data, 1-byte checksum checksum is sum of dest addr, length of data and data mod 256
ID | Required | Description |
---|---|---|
broadcast commands (meant for all active nodes, sent to node ID FF) | ||
F0 | reset | |
F1 | set node address | |
F2 | set up communications | |
initialization commands | ||
10 | read ID data | |
11 | get command format revision | |
12 | get JVS revision | |
13 | get supported communications versions | |
14 | get slave features | |
15 | convey ID of main board | |
I/O commands | ||
20 | read switch inputs | |
21 | read coin inputs | |
22 | read analog inputs | |
23 | read rotary inputs | |
24 | read key code input? | |
25 | read screen position input (duckhunt gun style) | |
26 | read general-purpose (unrelated to player) input | |
2e | something with payouts? | |
2f | request to retransmit data in case of checksum failure | |
30 | decrease number of coins | |
31 | output the number of payouts? | |
32 | general-purpose output | |
33 | analog output | |
34 | output character data, e.g. to LCD | |
35 | output the total number of coins? | |
36 | subtract payouts? | |
37 | general-purpose output 2 | |
38 | general-purpose output 3 | |
60-7F | reserved for manufacturer-specific commands |