Skip to content

Commit

Permalink
Tweak pins spacing, comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 21, 2020
1 parent 9f53bbd commit 5d16497
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions Marlin/src/pins/linux/pins_RAMPS_LINUX.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@
//
// Temperature Sensors
//
#define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input
#define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand All @@ -159,16 +159,16 @@
// Heaters / Fans
//
#ifndef MOSFET_D_PIN
#define MOSFET_D_PIN -1
#define MOSFET_D_PIN -1
#endif
#ifndef RAMPS_D8_PIN
#define RAMPS_D8_PIN 8
#define RAMPS_D8_PIN 8
#endif
#ifndef RAMPS_D9_PIN
#define RAMPS_D9_PIN 9
#define RAMPS_D9_PIN 9
#endif
#ifndef RAMPS_D10_PIN
#define RAMPS_D10_PIN 10
#define RAMPS_D10_PIN 10
#endif

#define HEATER_0_PIN RAMPS_D10_PIN
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif


Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_RAMPS_OLD.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@

// SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/ramps/pins_TT_OSCAR.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@

// SPI for Max6675 or Max31855 Thermocouple
//#if DISABLED(SDSUPPORT)
// #define MAX6675_SS 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
// #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
//#else
// #define MAX6675_SS 66 // Don't use 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_PIN 66 // Don't use 49 (SD_DETECT_PIN)
//#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/sam/pins_RAMPS_DUO.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
// SPI for Max6675 or Max31855 Thermocouple
#undef MAX6675_SS_PIN
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 69 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 69 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 69 // Don't use 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_PIN 69 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/sam/pins_RAMPS_SMART.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
// SPI for Max6675 or Max31855 Thermocouple
#undef MAX6675_SS_PIN
#if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 67 // Don't use 53 if there is even the remote possibility of using Display/SD card
#define MAX6675_SS_PIN 67 // Don't use 53 if using Display/SD card
#else
#define MAX6675_SS_PIN 67 // Don't use 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_PIN 67 // Don't use 49 (SD_DETECT_PIN)
#endif

//
Expand Down

0 comments on commit 5d16497

Please sign in to comment.