Reference   Language | Libraries | Comparison | Changes

Robot

parseCommand()

Description

Receive commands from Robot Control Board, and carry them out accordingly. It's part of Robot motor board's core routine. If you want to extend it, see this document.

This can only be called from the Motor Board processor.

Syntax

RobotMotor.parseCommand()

Parameters

none

Returns

none

Examples

#include <ArduinoRobotMotorBoard.h>
void setup(){
  RobotMotor.begin();
}
void loop(){
  //The robot motor board core routine
  RobotMotor.parseCommand();
  RobotMotor.process();
}

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share