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

forwardC()

Description

Move the robot forward with distance and speed control.

Syntax

forwardC(speed, distance)

Parameters

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

distance : move distance (ticks unit).

Returns

None

Exemple

# move forward, distance = 10 cm
forward(10, 400);