Fixed #312
This commit is contained in:
parent
442ade15a6
commit
bbe7d3d0fe
@ -310,13 +310,16 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
|
|||||||
//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
|
//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
|
||||||
//#define ULTIPANEL //the ultipanel as on thingiverse
|
//#define ULTIPANEL //the ultipanel as on thingiverse
|
||||||
|
|
||||||
// The RepRapDiscount Smart Controller
|
// The RepRapDiscount Smart Controller (white PCB)
|
||||||
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
|
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
|
||||||
//#define REPRAP_DISCOUNT_SMART_CONTROLLER
|
//#define REPRAP_DISCOUNT_SMART_CONTROLLER
|
||||||
|
|
||||||
|
// The GADGETS3D G3D LCD/SD Controller (blue PCB)
|
||||||
|
// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
|
||||||
|
//#define G3D_PANEL
|
||||||
|
|
||||||
//automatic expansion
|
//automatic expansion
|
||||||
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
|
||||||
#define ULTIPANEL
|
#define ULTIPANEL
|
||||||
#define NEWPANEL
|
#define NEWPANEL
|
||||||
#endif
|
#endif
|
||||||
|
@ -362,7 +362,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define PS_ON_PIN 12
|
#define PS_ON_PIN 12
|
||||||
|
|
||||||
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
|
#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
|
||||||
#define KILL_PIN 41
|
#define KILL_PIN 41
|
||||||
#else
|
#else
|
||||||
#define KILL_PIN -1
|
#define KILL_PIN -1
|
||||||
@ -418,8 +418,12 @@
|
|||||||
#define BTN_EN2 35
|
#define BTN_EN2 35
|
||||||
#define BTN_ENC 31 //the click
|
#define BTN_ENC 31 //the click
|
||||||
|
|
||||||
|
#ifdef G3D_PANEL
|
||||||
|
#define SDCARDDETECT 49
|
||||||
|
#else
|
||||||
#define SDCARDDETECT -1 // Ramps does not use this port
|
#define SDCARDDETECT -1 // Ramps does not use this port
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#else //old style panel with shift register
|
#else //old style panel with shift register
|
||||||
//arduino pin witch triggers an piezzo beeper
|
//arduino pin witch triggers an piezzo beeper
|
||||||
|
Loading…
Reference in New Issue
Block a user