Home » DEVELOPERS » forward() – API C

forward()

Description

Move the robot MRPi1 forward with control speed.

Syntax


forward(speed);

Parameters

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

Returns

None

Exemples

#include "MRPiZ.h"

int main(int argc, char* argv[])
{
  init();
  forward(30);
}