Arduino_EMBRYO_2 - startWithoutHoming()

Initializes the motor.

Enables and starts the motor, then the motor is set as ready but it doesn’t run the homing procedure. Use this function only with the motor outside the axis.

Syntax

axis.startWithoutHoming()

Example

#include <Arduino_EMBRYO_2.h>

StepMotor axis(1, A5, 5, 6, 3, 4, A2, A1, 2, 12);

void setup() {
  Serial.begin(9600);
  while (!Serial) {};
  axis.begin();
  axis.startWithoutHoming();  // Initialize motor without homing procedure
  axis.homing();              // Run the home procedure
}
void loop() {}

See also