Marlin for Megatronics v3 June 17, 2015 10:45AM |
Registered: 9 years ago Posts: 35 |
Re: Marlin for Megatronics v3 June 17, 2015 12:56PM |
Registered: 9 years ago Posts: 35 |
Quote
"hi
best and easier solution is:
connect the y motors to the z connector on the board and the z to the y
connector.
change the pins .h file in marlin to reflect the change es.
original pins :
#define X_STEP_PIN 58
#define X_DIR_PIN 57
#define X_ENABLE_PIN 59
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled
"-1", set to commented value to enable.
#define Y_STEP_PIN 5 // A6
#define Y_DIR_PIN 17 // A0
#define Y_ENABLE_PIN 4
#define Y_MIN_PIN 41
#define Y_MAX_PIN 38 //15
#define Z_STEP_PIN 16 // A2
#define Z_DIR_PIN 11 // A6
#define Z_ENABLE_PIN 3 // A1
#define Z_MIN_PIN 18
#define Z_MAX_PIN 19
mod pins:
#define X_STEP_PIN 58
#define X_DIR_PIN 57
#define X_ENABLE_PIN 59
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled
"-1", set to commented value to enable.
#define Z_STEP_PIN 5 // A6
#define Z_DIR_PIN 17 // A0
#define Z_ENABLE_PIN 4
#define Y_MIN_PIN 41
#define Y_MAX_PIN 38 //15
#define Y_STEP_PIN 16 // A2
#define Y_DIR_PIN 11 // A6
#define Y_ENABLE_PIN 3 // A1
#define Z_MIN_PIN 18
#define Z_MAX_PIN 19
this should work"
Quote
Arduino: 1.6.5 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
In file included from pins.h:96:0,
from Conditionals.h:213,
from Configuration_adv.h:548,
from Configuration.h:814,
from Marlin.h:22,
from blinkm.cpp:5:
pins_MEGATRONICS_3.h:30: error: expected unqualified-id before string constant
"-1", set to commented value to enable.
^
expected unqualified-id before string constant
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Re: Marlin for Megatronics v3 June 17, 2015 12:59PM |
Registered: 9 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Marlin for Megatronics v3 June 17, 2015 01:43PM |
Registered: 8 years ago Posts: 5,232 |
Re: Marlin for Megatronics v3 June 19, 2015 10:54AM |
Registered: 9 years ago Posts: 35 |