想改成三头适配的程序,把挤出头定义改为3后报错
Arduino:1.6.4 (Windows 8.1), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from Marlin.h:23:0,
from Marlin_main.cpp:30:
pins.h:2719: error: 'E2_STEP_PIN' was not declared in this scope
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN,
^
pins.h:2768:43: note: in expansion of macro '_E2_PINS'
_E0_PINS _E1_PINS _E2_PINS \
^
Marlin_main.cpp:276:30: note: in expansion of macro 'SENSITIVE_PINS'
const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42
^
pins.h:2719: error: 'E2_DIR_PIN' was not declared in this scope
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN,
^
pins.h:2768:43: note: in expansion of macro '_E2_PINS'
_E0_PINS _E1_PINS _E2_PINS \
^
Marlin_main.cpp:276:30: note: in expansion of macro 'SENSITIVE_PINS'
const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42
^
pins.h:2719: error: 'E2_ENABLE_PIN' was not declared in this scope
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN,
^
pins.h:2768:43: note: in expansion of macro '_E2_PINS'
_E0_PINS _E1_PINS _E2_PINS \
^
Marlin_main.cpp:276:30: note: in expansion of macro 'SENSITIVE_PINS'
const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42
^
'E2_STEP_PIN' was not declared in this scope
|