daid303 12 lat temu
rodzic
commit
bbe7d3d0fe
2 zmienionych plików z 12 dodań i 5 usunięć
  1. 6
    3
      Marlin/Configuration.h
  2. 6
    2
      Marlin/pins.h

+ 6
- 3
Marlin/Configuration.h Wyświetl plik

@@ -310,13 +310,16 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
310 310
 //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
311 311
 //#define ULTIPANEL  //the ultipanel as on thingiverse
312 312
 
313
-// The RepRapDiscount Smart Controller
313
+// The RepRapDiscount Smart Controller (white PCB)
314 314
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
315 315
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
316
-
316
+
317
+// The GADGETS3D G3D LCD/SD Controller (blue PCB)
318
+// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
319
+//#define G3D_PANEL
317 320
 
318 321
 //automatic expansion
319
-#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER)
322
+#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
320 323
  #define ULTIPANEL
321 324
  #define NEWPANEL
322 325
 #endif 

+ 6
- 2
Marlin/pins.h Wyświetl plik

@@ -362,7 +362,7 @@
362 362
 #endif
363 363
 #define PS_ON_PIN          12
364 364
 
365
-#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
365
+#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
366 366
 #define KILL_PIN           41
367 367
 #else
368 368
 #define KILL_PIN           -1
@@ -418,7 +418,11 @@
418 418
       #define BTN_EN2 35
419 419
       #define BTN_ENC 31  //the click
420 420
 
421
-      #define SDCARDDETECT -1  // Ramps does not use this port
421
+      #ifdef G3D_PANEL
422
+        #define SDCARDDETECT 49
423
+      #else
424
+        #define SDCARDDETECT -1  // Ramps does not use this port
425
+      #endif
422 426
     #endif
423 427
 
424 428
   #else //old style panel with shift register

Ładowanie…
Anuluj
Zapisz