Skip to content

Commit

Permalink
support LCD Smart Controller 2004
Browse files Browse the repository at this point in the history
  • Loading branch information
leonal committed Oct 10, 2014
1 parent 466db47 commit 3e615ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Marlin/Configuration.h
Expand Up @@ -215,8 +215,8 @@ const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of t
#define NEWPANEL
#define SDSUPPORT
#define ULTRA_LCD
#define LCD_WIDTH 16
#define LCD_HEIGHT 2
#define LCD_WIDTH 20
#define LCD_HEIGHT 4

#define EASY_LOAD // Add load/unload to LCD control panel ***caution*** Allows long extrusion distances
#define BOWDEN_LENGTH 650 // Sets max extrusion length ***caution*** Allows long extrusion distances
Expand Down
27 changes: 14 additions & 13 deletions Marlin/pins.h
Expand Up @@ -297,7 +297,7 @@
#define FAN_PIN 4 // IO pin. Buffer needed
#endif
#define PS_ON_PIN 12
#define KILL_PIN -1
#define KILL_PIN 41 //[RAMPS14-SMART-ADAPTER]

#define HEATER_0_PIN 10 // EXTRUDER 1
#if MOTHERBOARD == 33
Expand Down Expand Up @@ -328,25 +328,26 @@

#ifdef NEWPANEL
//arduino pin which triggers an piezzo beeper
#define BEEPER 33 // Beeper on AUX-4

#define LCD_PINS_RS 57
#define LCD_PINS_ENABLE 58
#define LCD_PINS_D4 59
#define LCD_PINS_D5 64
#define LCD_PINS_D6 44
#define LCD_PINS_D7 66
#define BEEPER 37 //[RAMPS14-SMART-ADAPTER] / 37 = enabled; -1 = dissabled / (if you don't like the beep sound ;-)


#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

//buttons are directly attached using AUX-2
#define BTN_EN1 40
#define BTN_EN2 42
#define BTN_ENC 63 //the click
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35 //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 49 //[RAMPS14-SMART-ADAPTER]

//encoder rotation values
#define encrot0 0
Expand Down

0 comments on commit 3e615ce

Please sign in to comment.