|
我也曾經依照底下來送訊號唷!! 但是 當時測試 可能是我接法不對 所以 也是無所得!!
Serial Command Format
The PSC supports several commands that are sent to it via RS-232 serial protocol. The voltage swing of
this serial line is 0-5 VDC (TTL level). Each serial command must be preceded with an exclamation point,
「!」, and the pair of letters, 「SC」.
The exclamation point is used in some AppMods to determine the incoming baudrate, thereby supporting
a feature called Auto-Baud. The PSC does not support Auto-Baud. When your PSC starts up, the default
baudrate is 2400. The 「SC」 portion is an identifier that pertains to the PSC. Together, the 「!」 and the
「SC」 form a preamble, 「!SC」. The preamble serves to distinguish commands for the PSC from other
messages on the serial I/O line, and allow different types of AppMods to use the same serial line.
After the preamble is sent, the command and associated parameters are sent. The eighth and final
character sent is a $0D, (CR), used to terminate the string. If the command causes the PSC to reply, a
three-byte reply is sent after a 1.5 mS delay. |
|