Firmware-72 Command-059

From I-CubeX Wiki
Jump to: navigation, search

SEND OUTPUT INIT (59, 3Bh)

The SEND OUTPUT INIT command can be used to get the actuator output status. The command can be used in both host and stand-alone modes of operation. Upon completion of the command the digitizer sends out the same message as the SET OUTPUT INIT command but with the command ID byte set to 59 (3Bh).

The [BODY] of the SEND OUTPUT INIT command consists of a single 7-bit byte with the following format:

0000xyyy: x = 1; apply the command to all actuator outputs (yyy is ignored), ie. send 8 messages with the status for each actuator output
yyy = [0..7]; actuator output number, where the first actuator output number = 0, and the last (8th) actuator output number = 7

Example:

240, 125, 0 {DEV}, 59 {SEND OUTPUT INIT}, 1 {yyy = 1}, 247 (F0h, 7Dh, 00h, 3Bh, 01h, F7h)