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