-
Notifications
You must be signed in to change notification settings - Fork 7
Begin()
CreateiveRobotics edited this page Mar 7, 2020
·
4 revisions
Begin(Stream *sPort)
void begin(Stream *sPort, const commandList_t *commands, uint32_t size)
void begin(Stream *sPort, Stream *oPort, const commandList_t *commands, uint32_t size)
Initialise Commander with a Stream object for the input and output ports. Commander also needs a command list and a size variable before it can work. Optionally Commander can be initialised with a different output port (oPort). Any data printed using the print and write functions will use this port.