Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
e82b1225
Commit
e82b1225
authored
Apr 28, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
de8992bb
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
393 additions
and
221 deletions
+393
-221
language_en.h
MarlinKimbra/language_en.h
+1
-0
pins.h
MarlinKimbra/pins.h
+17
-77
ultralcd.cpp
MarlinKimbra/ultralcd.cpp
+366
-144
ultralcd.h
MarlinKimbra/ultralcd.h
+4
-0
ultralcd_implementation_hitachi_HD44780.h
MarlinKimbra/ultralcd_implementation_hitachi_HD44780.h
+5
-0
No files found.
MarlinKimbra/language_en.h
View file @
e82b1225
...
@@ -52,6 +52,7 @@
...
@@ -52,6 +52,7 @@
#define MSG_EXTRUDE "Extrude"
#define MSG_EXTRUDE "Extrude"
#define MSG_RETRACT "Retract"
#define MSG_RETRACT "Retract"
#define MSG_MOVE_AXIS "Move axis"
#define MSG_MOVE_AXIS "Move axis"
#define MSG_LEVEL_BED "Level bed"
#define MSG_MOVE_X "Move X"
#define MSG_MOVE_X "Move X"
#define MSG_MOVE_Y "Move Y"
#define MSG_MOVE_Y "Move Y"
#define MSG_MOVE_Z "Move Z"
#define MSG_MOVE_Z "Move Z"
...
...
MarlinKimbra/pins.h
View file @
e82b1225
...
@@ -2345,87 +2345,27 @@
...
@@ -2345,87 +2345,27 @@
//32Mb
//32Mb
#define SPI_FLASH_CS 23 //PA14
#define SPI_FLASH_CS 23 //PA14
#ifdef ULTRA_LCD
/** Display **/
#ifdef NEWPANEL
#ifdef PANEL_ONE
#define LCD_PINS_RS 40
#define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 65
#define LCD_PINS_D5 66
#define LCD_PINS_D6 44
#define LCD_PINS_D7 64
#else
#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
#endif //PANEL_ONE
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
// GLCD on expansion port
#define BEEPER 37
#ifdef REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define BTN_EN1 31
#define LCD_PINS_RS 18
#define BTN_EN2 33
#define LCD_PINS_ENABLE 15
#define BTN_ENC 35
#define LCD_PINS_D4 19
#define BEEPER 64
#define SDCARDDETECT 49
#define BTN_EN1 14
#elif defined(LCD_I2C_PANELOLU2)
#define BTN_EN2 16
#define BTN_EN1 47 //reverse if the encoder turns the wrong way.
#define BTN_ENC 17
#define BTN_EN2 43
#define BTN_ENC 32
#define LCD_SDSS 53
#define SDCARDDETECT -1
#define KILL_PIN 41
#elif defined(LCD_I2C_VIKI)
#define BTN_EN1 22 //reverse if the encoder turns the wrong way.
#define BTN_EN2 7
#define BTN_ENC -1
#define LCD_SDSS 53
#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
#if UI_VOLTAGE_LEVEL != 1
#ifdef REPRAPWORLD_KEYPAD
#undef UI_VOLTAGE_LEVEL
#define BTN_EN1 64 // encoder
#define UI_VOLTAGE_LEVEL 1
#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
#elif defined(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7
#else
#define BTN_EN1 37
#define BTN_EN2 35
#define BTN_ENC 31 //the click
#endif
#endif
#endif
#else //old style panel with shift register
#endif //REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//arduino pin witch triggers an piezzo beeper
#define BEEPER 33 //No Beeper added
//buttons are attached to a shift register
// Not wired this yet
//#define SHIFT_CLK 38
//#define SHIFT_LD 42
//#define SHIFT_OUT 40
//#define SHIFT_EN 17
#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
#endif //NEWPANEL
#endif //ULTRA_LCD
#endif //ALLIGATOR
#endif //ALLIGATOR
/****************************************************************************************/
/****************************************************************************************/
...
...
MarlinKimbra/ultralcd.cpp
View file @
e82b1225
This diff is collapsed.
Click to expand it.
MarlinKimbra/ultralcd.h
View file @
e82b1225
...
@@ -73,6 +73,10 @@
...
@@ -73,6 +73,10 @@
#define EN_A BIT(BLEN_A)
#define EN_A BIT(BLEN_A)
#define LCD_CLICKED (buttons&EN_C)
#define LCD_CLICKED (buttons&EN_C)
#if defined(BTN_BACK) && BTN_BACK > 0
#define EN_D BIT(BLEN_D)
#define LCD_BACK_CLICKED (buttons&EN_D)
#endif
#ifdef REPRAPWORLD_KEYPAD
#ifdef REPRAPWORLD_KEYPAD
#define EN_REPRAPWORLD_KEYPAD_F3 (BIT(BLEN_REPRAPWORLD_KEYPAD_F3))
#define EN_REPRAPWORLD_KEYPAD_F3 (BIT(BLEN_REPRAPWORLD_KEYPAD_F3))
#define EN_REPRAPWORLD_KEYPAD_F2 (BIT(BLEN_REPRAPWORLD_KEYPAD_F2))
#define EN_REPRAPWORLD_KEYPAD_F2 (BIT(BLEN_REPRAPWORLD_KEYPAD_F2))
...
...
MarlinKimbra/ultralcd_implementation_hitachi_HD44780.h
View file @
e82b1225
...
@@ -399,6 +399,11 @@ static void lcd_implementation_init(
...
@@ -399,6 +399,11 @@ static void lcd_implementation_init(
lcd
.
backlight
();
lcd
.
backlight
();
#else
#else
#if (LCD_PINS_RS != -1) && (LCD_PINS_ENABLE != -1)
// required for RAMPS-FD, but does no harm for other targets
SET_OUTPUT
(
LCD_PINS_RS
);
SET_OUTPUT
(
LCD_PINS_ENABLE
);
#endif
lcd
.
begin
(
LCD_WIDTH
,
LCD_HEIGHT
);
lcd
.
begin
(
LCD_WIDTH
,
LCD_HEIGHT
);
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment