daid303 12 yıl önce
ebeveyn
işleme
bbe7d3d0fe
2 değiştirilmiş dosya ile 12 ekleme ve 5 silme
  1. 6
    3
      Marlin/Configuration.h
  2. 6
    2
      Marlin/pins.h

+ 6
- 3
Marlin/Configuration.h Dosyayı Görüntüle

310
 //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
310
 //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
311
 //#define ULTIPANEL  //the ultipanel as on thingiverse
311
 //#define ULTIPANEL  //the ultipanel as on thingiverse
312
 
312
 
313
-// The RepRapDiscount Smart Controller
313
+// The RepRapDiscount Smart Controller (white PCB)
314
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
314
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
315
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
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
 //automatic expansion
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
  #define ULTIPANEL
323
  #define ULTIPANEL
321
  #define NEWPANEL
324
  #define NEWPANEL
322
 #endif 
325
 #endif 

+ 6
- 2
Marlin/pins.h Dosyayı Görüntüle

362
 #endif
362
 #endif
363
 #define PS_ON_PIN          12
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
 #define KILL_PIN           41
366
 #define KILL_PIN           41
367
 #else
367
 #else
368
 #define KILL_PIN           -1
368
 #define KILL_PIN           -1
418
       #define BTN_EN2 35
418
       #define BTN_EN2 35
419
       #define BTN_ENC 31  //the click
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
     #endif
426
     #endif
423
 
427
 
424
   #else //old style panel with shift register
428
   #else //old style panel with shift register

Loading…
İptal
Kaydet