Module Commands

A module command addresses a specific module with one or more pieces of information, causing it to change state.

A module command is sent to the Flotilla Dock via USB Serial at 115200 baud. Each module command must be terminated with a carriage return ( ASCII 13, '\r' ).

s 1 255,255,255 - sends data to the module connected to channel 1

Module updates must start with an s, followed by a space, followed by the channel number you wish to address.

The channel number must be any integer from 1 to 8 corresponding to the numbers on the Dock itself. Another space follows, and then the arguments.

Arguments are 16bit signed integers; IE a number from -32768 to 32767. The argument list varies per module, and all arguments must be separated by commas.