Allow FAN_PIN override, pins cleanup (#10957)
This commit is contained in:
parent
70d39ac185
commit
582845fd72
43 changed files with 292 additions and 221 deletions
|
|
@ -36,8 +36,8 @@
|
|||
//
|
||||
// MOSFET changes
|
||||
//
|
||||
#define RAMPS_D10_PIN 9 // EXTRUDER 1
|
||||
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
|
||||
#define RAMPS_D10_PIN 9 // EXTRUDER 1
|
||||
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
|
|
@ -74,9 +74,9 @@
|
|||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#undef MAX6675_SS
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#define MAX6675_SS 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
|
||||
#define MAX6675_SS 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
@ -85,8 +85,9 @@
|
|||
#undef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 8 // Same as RAMPS_13_EEF
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8 // Same as RAMPS_13_EEF
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue