Home » DEVELOPERS » Programming the MRduino with Arduino » robotGo() – API arduino

robotGo()

Description

Robot go X and Y coordinate.

Syntax

robotGo(int speed, int coord_X, int coord_Y)

Parameter

  • speed : the speed of the robot can be between 0 to 100.

Cartesian coordinate :

  • coord_X : axe X coordinate.
  • coord_Y : axe Y coordinate.

Return

None

Exemple

#include <mrduino.h>


void setup()
{
  Serial.begin(115200);

  robotGo(10, 200,400);
  
 
}

void loop()
{
  
}