|
@ -138,49 +138,49 @@ |
|
|
* Hi Voltage PWM Pin Assignments |
|
|
* Hi Voltage PWM Pin Assignments |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
#ifndef HI_VOLT_PIN_D |
|
|
#ifndef MOSFET_D_PIN |
|
|
#define HI_VOLT_PIN_D -1 |
|
|
#define MOSFET_D_PIN -1 |
|
|
#endif |
|
|
#endif |
|
|
#ifndef HI_VOLT_PIN_C |
|
|
#ifndef RAMPS_D8_PIN |
|
|
#define HI_VOLT_PIN_C 8 |
|
|
#define RAMPS_D8_PIN 8 |
|
|
#endif |
|
|
#endif |
|
|
#ifndef HI_VOLT_PIN_B |
|
|
#ifndef RAMPS_D9_PIN |
|
|
#define HI_VOLT_PIN_B 9 |
|
|
#define RAMPS_D9_PIN 9 |
|
|
#endif |
|
|
#endif |
|
|
#ifndef HI_VOLT_PIN_A |
|
|
#ifndef RAMPS_D10_PIN |
|
|
#define HI_VOLT_PIN_A 10 |
|
|
#define RAMPS_D10_PIN 10 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define HEATER_0_PIN HI_VOLT_PIN_A |
|
|
#define HEATER_0_PIN RAMPS_D10_PIN |
|
|
|
|
|
|
|
|
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
|
|
|
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
|
|
|
#define FAN_PIN HI_VOLT_PIN_B |
|
|
#define FAN_PIN RAMPS_D9_PIN |
|
|
#define HEATER_BED_PIN HI_VOLT_PIN_C |
|
|
#define HEATER_BED_PIN RAMPS_D8_PIN |
|
|
#define FAN1_PIN 4 // IO pin. Buffer needed
|
|
|
|
|
|
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
|
|
|
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
|
|
|
#define HEATER_1_PIN HI_VOLT_PIN_B |
|
|
#define HEATER_1_PIN RAMPS_D9_PIN |
|
|
#define FAN_PIN HI_VOLT_PIN_C |
|
|
#define FAN_PIN RAMPS_D8_PIN |
|
|
#define FAN1_PIN 4 // IO pin. Buffer needed
|
|
|
|
|
|
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
|
|
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
|
|
#define HEATER_1_PIN HI_VOLT_PIN_B |
|
|
#define HEATER_1_PIN RAMPS_D9_PIN |
|
|
#define HEATER_BED_PIN HI_VOLT_PIN_C |
|
|
#define HEATER_BED_PIN RAMPS_D8_PIN |
|
|
#define FAN_PIN 4 // IO pin. Buffer needed
|
|
|
|
|
|
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
|
|
|
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
|
|
|
#define FAN_PIN HI_VOLT_PIN_B |
|
|
#define FAN_PIN RAMPS_D9_PIN |
|
|
#define FAN1_PIN HI_VOLT_PIN_C |
|
|
#define FAN1_PIN RAMPS_D8_PIN |
|
|
#define CONTROLLERFAN_PIN -1 |
|
|
#define CONTROLLERFAN_PIN -1 |
|
|
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
|
|
|
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
|
|
|
#define FAN_PIN HI_VOLT_PIN_C |
|
|
#define FAN_PIN RAMPS_D8_PIN |
|
|
#else // Non-specific are "EFB" by legacy
|
|
|
#else // Non-specific are "EFB" by legacy
|
|
|
#define FAN_PIN HI_VOLT_PIN_B |
|
|
#define FAN_PIN RAMPS_D9_PIN |
|
|
#define HEATER_BED_PIN HI_VOLT_PIN_C |
|
|
#define HEATER_BED_PIN RAMPS_D8_PIN |
|
|
#if HOTENDS == 1 |
|
|
#if HOTENDS == 1 |
|
|
#define FAN1_PIN HI_VOLT_PIN_D |
|
|
#define FAN1_PIN MOSFET_D_PIN |
|
|
#else |
|
|
#else |
|
|
#define HEATER_1_PIN HI_VOLT_PIN_D |
|
|
#define HEATER_1_PIN MOSFET_D_PIN |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef FAN_PIN |
|
|
|
|
|
#define FAN_PIN 4 // IO pin. Buffer needed
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* LCD Controller Pin Assignments |
|
|
* LCD Controller Pin Assignments |
|
|