Skip to content

update()

CreateiveRobotics edited this page Mar 7, 2020 · 3 revisions
update()

Update the Commander object. Commander will copy any new bytes from the inPort to its buffer and try and handle a command if an end of line character is found.

If any data has been loaded into the buffer as a pending command, either by the user, or because of a chain command or autochain, Commander will process this data instead of looking in the stream object for new data.

Returns true if there are bytes available in the stream.

Clone this wiki locally