Reference   Language | Libraries | Comparison | Changes

Robot

begin()

Description

Initializes the robot. Must be called in setup() to use Robot-specific features.

Robot.begin() does not initialize features like sound, the LCD module, or the SD card. Refer to the links in the "See also" section for reference on initializing these other modules.

Syntax

Robot.begin()

Parameters

none

Returns

none

Examples

#include <ArduinoRobot.h>
void setup(){
  Robot.begin();
  //do stuff here
}
void loop(){
  //do stuff here
}

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