Reference   Language | Libraries | Comparison | Changes

Robot

begin()

Description

Initializes the robot motor board. Must be called in setup() to use Robot-specific features. This can only be called on the Motor Board processor.

Syntax

RobotMotor.begin()

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