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