Browse Source

Update pins.h

Somehow the pin definitions for the MAX6675 Slave Select/Chip Select got changed back to the hardware SPI SS/CS.  
Pin 49 cannot be used as that is used by the SD card socket to detect if an SD card is present.
Pin 53 is the Hardware SPI SS, which is dedicated, nicely, to the SD card SS and therefore cannot be used as the MAX6675 SS
Pin 66 is in Aux2 port adjacent to the Hardware SPI interface port on RAMPS 1.4, and is currently not used for anything.
Grogyan 9 years ago
parent
commit
6b82415c81
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/pins.h

+ 2
- 2
Marlin/pins.h View File

@@ -904,9 +904,9 @@
904 904
   #define SCK_PIN          52
905 905
   #define MISO_PIN         50
906 906
   #define MOSI_PIN         51
907
-  #define MAX6675_SS       53
907
+  #define MAX6675_SS       66// Do not use pin 53 if there is even the remote possibility of using Dsplay/SD card
908 908
 #else
909
-  #define MAX6675_SS       49
909
+  #define MAX6675_SS       66// Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
910 910
 #endif
911 911
 
912 912
 #endif // RAMPS_OLD || RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG

Loading…
Cancel
Save