Переглянути джерело

Added support for PanelOne from T3P3.

Maverikou 9 роки тому
джерело
коміт
2e166f5337
2 змінених файлів з 24 додано та 6 видалено
  1. 8
    0
      Marlin/Configuration.h
  2. 16
    6
      Marlin/pins_RAMPS_13.h

+ 8
- 0
Marlin/Configuration.h Переглянути файл

@@ -581,6 +581,10 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
581 581
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000	// this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
582 582
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
583 583
 
584
+// PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
585
+// http://reprap.org/wiki/PanelOne
586
+//#define PANEL_ONE
587
+
584 588
 // The MaKr3d Makr-Panel with graphic controller and SD support
585 589
 // http://reprap.org/wiki/MaKr3d_MaKrPanel
586 590
 //#define MAKRPANEL
@@ -639,6 +643,10 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
639 643
  #define ENCODER_STEPS_PER_MENU_ITEM 1
640 644
 #endif
641 645
 
646
+#if defined (PANEL_ONE)
647
+ #define SDSUPPORT
648
+ #define ULTIMAKERCONTROLLER
649
+#endif
642 650
 
643 651
 #if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
644 652
  #define DOGLCD

+ 16
- 6
Marlin/pins_RAMPS_13.h Переглянути файл

@@ -122,12 +122,22 @@
122 122
 #ifdef ULTRA_LCD
123 123
 
124 124
   #ifdef NEWPANEL
125
-    #define LCD_PINS_RS 16
126
-    #define LCD_PINS_ENABLE 17
127
-    #define LCD_PINS_D4 23
128
-    #define LCD_PINS_D5 25
129
-    #define LCD_PINS_D6 27
130
-    #define LCD_PINS_D7 29
125
+    #ifdef PANEL_ONE
126
+      #define LCD_PINS_RS 40
127
+      #define LCD_PINS_ENABLE 42
128
+      #define LCD_PINS_D4 65
129
+      #define LCD_PINS_D5 66
130
+      #define LCD_PINS_D6 44
131
+      #define LCD_PINS_D7 64
132
+    #else
133
+      #define LCD_PINS_RS 16
134
+      #define LCD_PINS_ENABLE 17
135
+      #define LCD_PINS_D4 23
136
+      #define LCD_PINS_D5 25
137
+      #define LCD_PINS_D6 27
138
+      #define LCD_PINS_D7 29
139
+    #endif
140
+
131 141
 
132 142
     #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
133 143
       #define BEEPER 37

Завантаження…
Відмінити
Зберегти