HI_VOLT_PIN => "RAMPS_Dn_PIN"

This commit is contained in:
Scott Lahteine 2016-07-30 05:32:00 -07:00
parent de951c64f1
commit 49997e2e22
5 changed files with 32 additions and 32 deletions

View file

@ -30,7 +30,7 @@
#define BOARD_NAME "Felix 2.0+" #define BOARD_NAME "Felix 2.0+"
#define HI_VOLT_PIN_D 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -35,7 +35,7 @@
#define BOARD_NAME "MKS > v1.3" #define BOARD_NAME "MKS > v1.3"
#define HI_VOLT_PIN_D 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -30,6 +30,6 @@
#define BOARD_NAME "MKS BASE 1.0" #define BOARD_NAME "MKS BASE 1.0"
#define HI_VOLT_PIN_D 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -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

View file

@ -30,9 +30,9 @@
#define BOARD_NAME "Sainsmart" #define BOARD_NAME "Sainsmart"
#define HI_VOLT_PIN_A 9 // E #define RAMPS_D10_PIN 9 // E
#define HI_VOLT_PIN_B 7 // F PART FAN in front of board next to Extruder heat #define RAMPS_D9_PIN 7 // F PART FAN in front of board next to Extruder heat
// HI_VOLT_PIN_C 8 // B // RAMPS_D8_PIN 8 // B
#define HI_VOLT_PIN_D 10 // F / E #define MOSFET_D_PIN 10 // F / E
#include "pins_RAMPS.h" #include "pins_RAMPS.h"