hello and thanks for the previous help
i had another problem while calibrating my custom 3d printer (arduino due without shield)
y axis motor are working fine
one out of 2 z motor is only working
and the x axis stepper is not working
//code in userpin.h
// x axis stepper
#define ORIG_X_STEP_PIN 5
#define ORIG_X_DIR_PIN 6
#define ORIG_X_MIN_PIN 28
#define ORIG_X_MAX_PIN 34
#define ORIG_X_ENABLE_PIN 22
*//left y axis stepper, working
#define ORIG_Y_STEP_PIN 3
#define ORIG_Y_DIR_PIN 4
#define ORIG_Y_MIN_PIN 30
#define ORIG_Y_MAX_PIN 36
#define ORIG_Y_ENABLE_PIN 24
//left z axis stepper
#define ORIG_Z_STEP_PIN 7
#define ORIG_Z_DIR_PIN 8
#define ORIG_Z_MIN_PIN 32
#define ORIG_Z_MAX_PIN 38
#define ORIG_Z_ENABLE_PIN 26
*// right y axis stepper
#define ORIG_E1_STEP_PIN 9
#define ORIG_E1_DIR_PIN 10
#define ORIG_E1_ENABLE_PIN 24
*// right z axis stepper //extruder 2 pins in use and E1, E2 and E3 pins are defined
#define ORIG_E3_STEP_PIN 11
#define ORIG_E3_DIR_PIN 12
#define ORIG_E3_ENABLE_PIN 26
//code
i ve tested all the conection and i ve tried the digital pin 6 and 5 (x axis) on a small code to run the stepper only it work in both direction at a delay of 250 microseconds
same for te digital pins 7 and 8
and also in configuration.h ive enable moving witout homing for the axis x y and z
is there something wrong with the pinout or i am missing something ill post the test code too
//test code sample
void loop() {
digitalWrite(8, HIGH);*//direction ccw
digitalWrite(7, HIGH);
delayMicroseconds (280);
digitalWrite(7, LOW);
delayMicroseconds(280);
}
//test code sample
thanks in advance and i am suspecting the the pin 6 and 5 in the userpin.h are not D5 and D6 PC25 and PC24 respectively
regards @Repetier