Browse Source

Creality pins spacing, MINIPANEL CS pin

Scott Lahteine 7 years ago
parent
commit
83a1a70103
1 changed files with 10 additions and 5 deletions
  1. 10
    5
      Marlin/pins_MELZI_CREALITY.h

+ 10
- 5
Marlin/pins_MELZI_CREALITY.h View File

@@ -48,17 +48,22 @@
48 48
 #undef LCD_PINS_D7
49 49
 #undef FIL_RUNOUT_PIN
50 50
 
51
-#define LCD_SDSS        31 // Smart Controller SD card reader (rather than the Melzi)
52
-#define LCD_PINS_RS     28 // st9720 CS
53
-#define LCD_PINS_ENABLE 17 // st9720 DAT
54
-#define LCD_PINS_D4     30 // st9720 CLK
55
-#define FIL_RUNOUT_PIN  -1 // Uses Beeper/LED Pin Pulled to GND
51
+#define LCD_SDSS           31 // Smart Controller SD card reader (rather than the Melzi)
52
+#define LCD_PINS_RS        28 // st9720 CS
53
+#define LCD_PINS_ENABLE    17 // st9720 DAT
54
+#define LCD_PINS_D4        30 // st9720 CLK
55
+#define FIL_RUNOUT_PIN     -1 // Uses Beeper/LED Pin Pulled to GND
56 56
 
57 57
 // Alter timing for graphical display
58 58
 #define ST7920_DELAY_1 DELAY_2_NOP
59 59
 #define ST7920_DELAY_2 DELAY_2_NOP
60 60
 #define ST7920_DELAY_3 DELAY_2_NOP
61 61
 
62
+#if ENABLED(MINIPANEL)
63
+  #undef DOGLCD_CS    
64
+  #define DOGLCD_CS        LCD_PINS_RS
65
+#endif
66
+
62 67
 /**
63 68
   PIN:   0   Port: B0        E0_DIR_PIN                  protected
64 69
   PIN:   1   Port: B1        E0_STEP_PIN                 protected

Loading…
Cancel
Save