|
|
|
@ -360,7 +360,12 @@
|
|
|
|
|
#define FAN_PIN 4 // IO pin. Buffer needed
|
|
|
|
|
#endif
|
|
|
|
|
#define PS_ON_PIN 12
|
|
|
|
|
|
|
|
|
|
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
|
|
|
#define KILL_PIN 41
|
|
|
|
|
#else
|
|
|
|
|
#define KILL_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define HEATER_0_PIN 10 // EXTRUDER 1
|
|
|
|
|
#if MOTHERBOARD == 33
|
|
|
|
@ -378,8 +383,15 @@
|
|
|
|
|
#ifdef ULTRA_LCD
|
|
|
|
|
|
|
|
|
|
#ifdef NEWPANEL
|
|
|
|
|
//arduino pin which triggers an piezzo beeper
|
|
|
|
|
#define BEEPER 33 // Beeper on AUX-4
|
|
|
|
|
//encoder rotation values
|
|
|
|
|
#define encrot0 0
|
|
|
|
|
#define encrot1 2
|
|
|
|
|
#define encrot2 3
|
|
|
|
|
#define encrot3 1
|
|
|
|
|
|
|
|
|
|
#define BLEN_A 0
|
|
|
|
|
#define BLEN_B 1
|
|
|
|
|
#define BLEN_C 2
|
|
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 16
|
|
|
|
|
#define LCD_PINS_ENABLE 17
|
|
|
|
@ -388,22 +400,25 @@
|
|
|
|
|
#define LCD_PINS_D6 27
|
|
|
|
|
#define LCD_PINS_D7 29
|
|
|
|
|
|
|
|
|
|
//buttons are directly attached using AUX-2
|
|
|
|
|
#define BTN_EN1 37
|
|
|
|
|
#define BTN_EN2 35
|
|
|
|
|
#define BTN_ENC 31 //the click
|
|
|
|
|
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
|
|
|
#define BEEPER 37
|
|
|
|
|
|
|
|
|
|
#define BLEN_C 2
|
|
|
|
|
#define BLEN_B 1
|
|
|
|
|
#define BLEN_A 0
|
|
|
|
|
#define BTN_EN1 31
|
|
|
|
|
#define BTN_EN2 33
|
|
|
|
|
#define BTN_ENC 35
|
|
|
|
|
|
|
|
|
|
#define SDCARDDETECT -1 // Ramps does not use this port
|
|
|
|
|
#define SDCARDDETECT 49
|
|
|
|
|
#else
|
|
|
|
|
//arduino pin which triggers an piezzo beeper
|
|
|
|
|
#define BEEPER 33 // Beeper on AUX-4
|
|
|
|
|
|
|
|
|
|
//encoder rotation values
|
|
|
|
|
#define encrot0 0
|
|
|
|
|
#define encrot1 2
|
|
|
|
|
#define encrot2 3
|
|
|
|
|
#define encrot3 1
|
|
|
|
|
//buttons are directly attached using AUX-2
|
|
|
|
|
#define BTN_EN1 37
|
|
|
|
|
#define BTN_EN2 35
|
|
|
|
|
#define BTN_ENC 31 //the click
|
|
|
|
|
|
|
|
|
|
#define SDCARDDETECT -1 // Ramps does not use this port
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#else //old style panel with shift register
|
|
|
|
|
//arduino pin witch triggers an piezzo beeper
|
|
|
|
|