Skip to content

commandProcessor()

CreateiveRobotics edited this page Mar 7, 2020 · 2 revisions
void commandProcessor(bool state)

bool commandProcessor()

Used to enable or disable the command processing system. When disabled COmmander will read incoming characters but will not attempt to process them.

Example:

commandProcessor(OFF); //Disable the command processor

if(commandProcessor()) {/*do something*/} //Check if the command processor is enabled, and do something if it is
Clone this wiki locally