RepRapDiscount Smart Controller pin definitions.
This commit is contained in:
parent
5a998558a9
commit
3cbaad9288
2 changed files with 23 additions and 1 deletions
|
@ -296,8 +296,13 @@ 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 ULTIPANEL //the ultipanel as on thingiverse
|
||||
|
||||
// The RepRapDiscount Smart Controller
|
||||
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
|
||||
//#define REPRAPDISCOUNTSC
|
||||
|
||||
#ifdef ULTIMAKERCONTROLLER //automatic expansion
|
||||
|
||||
//automatic expansion
|
||||
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAPDISCOUNTSC)
|
||||
#define ULTIPANEL
|
||||
#define NEWPANEL
|
||||
#endif
|
||||
|
|
|
@ -405,6 +405,23 @@
|
|||
#define encrot2 3
|
||||
#define encrot3 1
|
||||
|
||||
#ifdef REPRAPDISCOUNTSC
|
||||
// Override partially the above definitions
|
||||
#define KILL_PIN 41
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define BEEPER 37
|
||||
#define SDCARDDETECT 49
|
||||
#endif
|
||||
|
||||
#else //old style panel with shift register
|
||||
//arduino pin witch triggers an piezzo beeper
|
||||
#define BEEPER 33 No Beeper added
|
||||
|
|
Reference in a new issue