Home » back_mm() – API arduino

back_mm()

Description

Move the robot back with millimeter distance.

Syntax

back_mm(int speed, int distance)

Parameter

  • speed : the speed of the robot can be between 0 to 100.
  • distance : the back distance (millimeter value)

Return

None

Exemple

#include <mrduino.h>


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

  controlEnable();
  
  // move back of 100 mm
  back_mm(10, 100);

 
}

void loop()
{
  
}