Reference   Language | Libraries | Comparison | Changes

Robot

process()

Description

Carry out different actions according to the mode Robot is in. 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.process()

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.