Skip to content

SD: Report the switches in binary format

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.

Get the raw hardware debounced switch state for every switch, in binary format. This command is similar to SA:, except with binary results instead of ASCII.

The SD: command response includes the physical state of each switch. If you configured the switch to report inverted, that only affects the /N -N or /L -L messages, not this SD: output.

SD:<CR>

Returns

SD:<BinaryData0><BinaryData1>...<BinaryDataX>

There is no <CR> sent on the end of this response

Example:

SD:

Response: (because this is binary it will often contain ASCII characters which will not be printable)

SD: #/^ ! +

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