Skip to content

addDelimiter()

CreateiveRobotics edited this page Mar 7, 2020 · 2 revisions
void addDelimiter(char newDelim)

Adds a character to the list of delimiters that are used to mark spaces between items in the payload, and the end of a command.

By default the delimiters are:

  • = (equals)
  • \ (back slash)
  • / (forward slash)
  • , (comma)
  • : (Colon)
  • | (OR)
  • SPACE
  • TAB

Example: Add ~ to the list of delimiters.

cmd.addDelimiter('~');
Clone this wiki locally