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

robotPositionY()

Description

Read the robot position, axe Y.

Syntax

robotPositionY()

Parameter

None

Return

Value: float

Exemple

#include <mrduino.h>

float positionY;

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

  robotGo(0,400);
  
  positionY = robotPositionY();

 
}

void loop()
{
  
}