Skip to content

CA: Get switch configs into array

FAST Serial Protocol: Overview & First Steps

This documentation section is about the FAST Serial Protocol (FSP) commands, which are the low-level commands a host computer sends to a FAST board. Most FAST Pinball makers do not need to know about these details, since the pinball game framework (such as the Mission Pinball Framework) handles this communication for you.

If you're writing your own game framework, we have a series of programming guides. Also, be sure to read the overview of how FSP works and how to connect first.

The CA command (version 1.25 and higher) returns the current switch states in an human-readable array format.

Note that the commands CS: and SL:L commands also return switch state information in other formats which may be more suitable for your application.

CA:<CR>

  Current Switch States
    0  1  2  3  4  5  6  7

0   0  0  0  0  0  0  0  0
1   0  0  0  0  0  0  0  0
2   0  0  0  0  0  0  0  0
3   0  0  0  0  0  0  0  0
4   0  0  0  0  0  0  0  0
5   0  0  0  0  0  0  0  0
6   0  0  0  0  0  0  0  0
7   0  0  0  0  0  0  0  0
8   0  0  0  0  0  0  0  0
9   0  0  0  0  0  0  0  0
A   0  0  0  0  0  0  0  0
B   0  0  0  0  0  0  0  0
C   0  0  0  0  0  0  0  0

N or > jump the next page, P or < for previous, search with S or ?