|
|
|
@ -251,6 +251,7 @@
|
|
|
|
|
#if ENABLED(NEWPANEL)
|
|
|
|
|
|
|
|
|
|
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
|
|
|
|
|
|
|
|
|
#define BEEPER_PIN 37
|
|
|
|
|
|
|
|
|
|
#define BTN_EN1 31
|
|
|
|
@ -265,26 +266,32 @@
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
|
|
|
|
|
|
|
|
|
#define BTN_EN1 64
|
|
|
|
|
#define BTN_EN2 59
|
|
|
|
|
#define BTN_ENC 63
|
|
|
|
|
#define SD_DETECT_PIN 42
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(LCD_I2C_PANELOLU2)
|
|
|
|
|
#define BTN_EN1 47 // reverse if the encoder turns the wrong way.
|
|
|
|
|
|
|
|
|
|
#define BTN_EN1 47
|
|
|
|
|
#define BTN_EN2 43
|
|
|
|
|
#define BTN_ENC 32
|
|
|
|
|
#define LCD_SDSS 53
|
|
|
|
|
#define SD_DETECT_PIN -1
|
|
|
|
|
#define KILL_PIN 41
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(LCD_I2C_VIKI)
|
|
|
|
|
#define BTN_EN1 22 // reverse if the encoder turns the wrong way.
|
|
|
|
|
#define BTN_EN2 7 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf
|
|
|
|
|
// tells about 40/42.
|
|
|
|
|
// 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
|
|
|
|
|
|
|
|
|
|
#define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
|
|
|
|
|
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
|
|
|
|
|
|
|
|
|
|
#define BTN_ENC -1
|
|
|
|
|
#define LCD_SDSS 53
|
|
|
|
|
#define SD_DETECT_PIN 49
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(VIKI2) || ENABLED(miniVIKI)
|
|
|
|
|
|
|
|
|
|
#define BEEPER_PIN 33
|
|
|
|
|
|
|
|
|
|
// Pins for DOGM SPI LCD Support
|
|
|
|
@ -305,7 +312,7 @@
|
|
|
|
|
#define STAT_LED_BLUE_PIN 35
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
|
|
|
|
#define BTN_EN1 35 // reverse if the encoder turns the wrong way.
|
|
|
|
|
#define BTN_EN1 35
|
|
|
|
|
#define BTN_EN2 37
|
|
|
|
|
#define BTN_ENC 31
|
|
|
|
|
#define SD_DETECT_PIN 49
|
|
|
|
@ -344,12 +351,12 @@
|
|
|
|
|
|
|
|
|
|
// buttons are directly attached using AUX-2
|
|
|
|
|
#if ENABLED(REPRAPWORLD_KEYPAD)
|
|
|
|
|
#define BTN_EN1 64 // encoder
|
|
|
|
|
#define BTN_EN2 59 // encoder
|
|
|
|
|
#define BTN_ENC 63 // enter button
|
|
|
|
|
#define SHIFT_OUT 40 // shift register
|
|
|
|
|
#define SHIFT_CLK 44 // shift register
|
|
|
|
|
#define SHIFT_LD 42 // shift register
|
|
|
|
|
#define BTN_EN1 64
|
|
|
|
|
#define BTN_EN2 59
|
|
|
|
|
#define BTN_ENC 63
|
|
|
|
|
#define SHIFT_OUT 40
|
|
|
|
|
#define SHIFT_CLK 44
|
|
|
|
|
#define SHIFT_LD 42
|
|
|
|
|
#elif ENABLED(PANEL_ONE)
|
|
|
|
|
#define BTN_EN1 59 // AUX2 PIN 3
|
|
|
|
|
#define BTN_EN2 63 // AUX2 PIN 4
|
|
|
|
@ -357,7 +364,7 @@
|
|
|
|
|
#else
|
|
|
|
|
#define BTN_EN1 37
|
|
|
|
|
#define BTN_EN2 35
|
|
|
|
|
#define BTN_ENC 31 // the click
|
|
|
|
|
#define BTN_ENC 31
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(G3D_PANEL)
|
|
|
|
|