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
448eccec
Commit
448eccec
authored
Apr 01, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
22f2ce3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
88 deletions
+84
-88
Conditionals.h
MarlinKimbra/Conditionals.h
+1
-1
language_en.h
MarlinKimbra/language_en.h
+3
-3
ultralcd.cpp
MarlinKimbra/ultralcd.cpp
+80
-84
No files found.
MarlinKimbra/Conditionals.h
View file @
448eccec
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
#endif
#endif
#ifdef ULTIPANEL
#ifdef ULTIPANEL
#undef SDCARDDETECTINVERTED
#undef SDCARDDETECTINVERTED
#endif
#endif
// Power Signal Control Definitions
// Power Signal Control Definitions
...
...
MarlinKimbra/language_en.h
View file @
448eccec
...
@@ -65,9 +65,9 @@
...
@@ -65,9 +65,9 @@
#define MSG_FAN_SPEED "Fan speed"
#define MSG_FAN_SPEED "Fan speed"
#define MSG_FLOW "Flow"
#define MSG_FLOW "Flow"
#define MSG_CONTROL "Control"
#define MSG_CONTROL "Control"
#define MSG_MIN " "
LCD_STR_THERMOMETER " Min"
#define MSG_MIN " "LCD_STR_THERMOMETER " Min"
#define MSG_MAX " "
LCD_STR_THERMOMETER " Max"
#define MSG_MAX " "LCD_STR_THERMOMETER " Max"
#define MSG_FACTOR " "
LCD_STR_THERMOMETER " Fact"
#define MSG_FACTOR " "LCD_STR_THERMOMETER " Fact"
#define MSG_IDLEOOZING "Anti oozing"
#define MSG_IDLEOOZING "Anti oozing"
#define MSG_AUTOTEMP "Autotemp"
#define MSG_AUTOTEMP "Autotemp"
#define MSG_ON "On "
#define MSG_ON "On "
...
...
MarlinKimbra/ultralcd.cpp
View file @
448eccec
...
@@ -193,6 +193,7 @@ static void lcd_status_screen();
...
@@ -193,6 +193,7 @@ static void lcd_status_screen();
if (lcdDrawUpdate) \
if (lcdDrawUpdate) \
lcd_implementation_drawmenu_ ## type(itemSelected, _drawLineNr, PSTR(label), ## args); \
lcd_implementation_drawmenu_ ## type(itemSelected, _drawLineNr, PSTR(label), ## args); \
if (wasClicked && itemSelected) { \
if (wasClicked && itemSelected) { \
lcd_quick_feedback(); \
encoderRateMultiplierEnabled = true; \
encoderRateMultiplierEnabled = true; \
lastEncoderMovementMillis = 0; \
lastEncoderMovementMillis = 0; \
menu_action_ ## type(args); \
menu_action_ ## type(args); \
...
@@ -567,23 +568,21 @@ void lcd_preheat_gum0() { _lcd_preheat(0, gumPreheatHotendTemp, gumPreheatHPBTem
...
@@ -567,23 +568,21 @@ void lcd_preheat_gum0() { _lcd_preheat(0, gumPreheatHotendTemp, gumPreheatHPBTem
#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0 //more than one extruder present
#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0 //more than one extruder present
#if TEMP_SENSOR_1 != 0 //2nd extruder preheat
#if TEMP_SENSOR_1 != 0
void
lcd_preheat_pla1
()
{
_lcd_preheat
(
1
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
void
lcd_preheat_pla1
()
{
_lcd_preheat
(
1
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
void
lcd_preheat_abs1
()
{
_lcd_preheat
(
1
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_abs1
()
{
_lcd_preheat
(
1
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_gum1
()
{
_lcd_preheat
(
1
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
void
lcd_preheat_gum1
()
{
_lcd_preheat
(
1
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
#endif //2nd extruder preheat
#endif
#if TEMP_SENSOR_2 != 0
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
void
lcd_preheat_pla2
()
{
_lcd_preheat
(
2
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
void
lcd_preheat_pla2
()
{
_lcd_preheat
(
2
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
void
lcd_preheat_abs2
()
{
_lcd_preheat
(
2
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_abs2
()
{
_lcd_preheat
(
2
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_gum2
()
{
_lcd_preheat
(
2
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
void
lcd_preheat_gum2
()
{
_lcd_preheat
(
2
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
#endif
#endif //3 extruder preheat
#if TEMP_SENSOR_3 != 0
void
lcd_preheat_pla3
()
{
_lcd_preheat
(
3
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
void
lcd_preheat_abs3
()
{
_lcd_preheat
(
3
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_pla3
()
{
_lcd_preheat
(
3
,
plaPreheatHotendTemp
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
void
lcd_preheat_gum3
()
{
_lcd_preheat
(
3
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
void
lcd_preheat_abs3
()
{
_lcd_preheat
(
3
,
absPreheatHotendTemp
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
#endif
void
lcd_preheat_gum3
()
{
_lcd_preheat
(
3
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
#endif //4 extruder preheat
void
lcd_preheat_pla0123
()
{
void
lcd_preheat_pla0123
()
{
setTargetHotend0
(
plaPreheatHotendTemp
);
setTargetHotend0
(
plaPreheatHotendTemp
);
...
@@ -603,77 +602,74 @@ void lcd_preheat_gum0() { _lcd_preheat(0, gumPreheatHotendTemp, gumPreheatHPBTem
...
@@ -603,77 +602,74 @@ void lcd_preheat_gum0() { _lcd_preheat(0, gumPreheatHotendTemp, gumPreheatHPBTem
setTargetHotend2
(
gumPreheatHotendTemp
);
setTargetHotend2
(
gumPreheatHotendTemp
);
_lcd_preheat
(
3
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
_lcd_preheat
(
3
,
gumPreheatHotendTemp
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
}
#endif //more than one extruder present
void
lcd_preheat_pla_bedonly
()
{
_lcd_preheat
(
0
,
0
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
#if TEMP_SENSOR_0 != 0
void
lcd_preheat_abs_bedonly
()
{
_lcd_preheat
(
0
,
0
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
void
lcd_preheat_gum_bedonly
()
{
_lcd_preheat
(
0
,
0
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
static
void
lcd_preheat_pla_menu
()
{
void
lcd_preheat_pla_bedonly
()
{
_lcd_preheat
(
0
,
0
,
plaPreheatHPBTemp
,
plaPreheatFanSpeed
);
}
START_MENU
();
void
lcd_preheat_abs_bedonly
()
{
_lcd_preheat
(
0
,
0
,
absPreheatHPBTemp
,
absPreheatFanSpeed
);
}
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
void
lcd_preheat_gum_bedonly
()
{
_lcd_preheat
(
0
,
0
,
gumPreheatHPBTemp
,
gumPreheatFanSpeed
);
}
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 1"
,
lcd_preheat_pla0
);
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
static
void
lcd_preheat_pla_menu
()
{
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 2"
,
lcd_preheat_pla1
);
START_MENU
();
#endif //2 extruder preheat
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 1"
,
lcd_preheat_pla0
);
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 3"
,
lcd_preheat_pla2
);
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
#endif //3 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 2"
,
lcd_preheat_pla1
);
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
#endif //2 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 4"
,
lcd_preheat_pla3
);
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
#endif //4 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 3"
,
lcd_preheat_pla2
);
#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 //all extruder preheat
#endif //3 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA_ALL
,
lcd_preheat_pla0123
);
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
#endif //all extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA
" 4"
,
lcd_preheat_pla3
);
#if TEMP_SENSOR_BED != 0
#endif //4 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA_BEDONLY
,
lcd_preheat_pla_bedonly
);
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA_ALL
,
lcd_preheat_pla0123
);
#endif
#if TEMP_SENSOR_BED != 0
END_MENU
();
MENU_ITEM
(
function
,
MSG_PREHEAT_PLA_BEDONLY
,
lcd_preheat_pla_bedonly
);
}
#endif
END_MENU
();
}
static
void
lcd_preheat_abs_menu
()
{
static
void
lcd_preheat_abs_menu
()
{
START_MENU
();
START_MENU
();
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 1"
,
lcd_preheat_abs0
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 1"
,
lcd_preheat_abs0
);
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 2"
,
lcd_preheat_abs1
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 2"
,
lcd_preheat_abs1
);
#endif //2 extruder preheat
#endif //2 extruder preheat
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 3"
,
lcd_preheat_abs2
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 3"
,
lcd_preheat_abs2
);
#endif //3 extruder preheat
#endif //3 extruder preheat
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 4"
,
lcd_preheat_abs3
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS
" 4"
,
lcd_preheat_abs3
);
#endif //4 extruder preheat
#endif //4 extruder preheat
#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 //all extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS_ALL
,
lcd_preheat_abs0123
);
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS_ALL
,
lcd_preheat_abs0123
);
#if TEMP_SENSOR_BED != 0
#endif //all extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS_BEDONLY
,
lcd_preheat_abs_bedonly
);
#if TEMP_SENSOR_BED != 0
#endif
MENU_ITEM
(
function
,
MSG_PREHEAT_ABS_BEDONLY
,
lcd_preheat_abs_bedonly
);
END_MENU
();
#endif
}
END_MENU
();
}
static
void
lcd_preheat_gum_menu
()
{
static
void
lcd_preheat_gum_menu
()
{
START_MENU
();
START_MENU
();
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
MENU_ITEM
(
back
,
MSG_PREPARE
,
lcd_prepare_menu
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 1"
,
lcd_preheat_gum0
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 1"
,
lcd_preheat_gum0
);
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
#if TEMP_SENSOR_1 != 0 //2 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 2"
,
lcd_preheat_gum1
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 2"
,
lcd_preheat_gum1
);
#endif //2 extruder preheat
#endif //2 extruder preheat
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
#if TEMP_SENSOR_2 != 0 //3 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 3"
,
lcd_preheat_gum2
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 3"
,
lcd_preheat_gum2
);
#endif //3 extruder preheat
#endif //3 extruder preheat
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
#if TEMP_SENSOR_3 != 0 //4 extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 4"
,
lcd_preheat_gum3
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM
" 4"
,
lcd_preheat_gum3
);
#endif //all extruder preheat
#endif //all extruder preheat
#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 //all extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM_ALL
,
lcd_preheat_gum0123
);
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM_ALL
,
lcd_preheat_gum0123
);
#if TEMP_SENSOR_BED != 0
#endif //all extruder preheat
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM_BEDONLY
,
lcd_preheat_gum_bedonly
);
#if TEMP_SENSOR_BED != 0
#endif
MENU_ITEM
(
function
,
MSG_PREHEAT_GUM_BEDONLY
,
lcd_preheat_gum_bedonly
);
END_MENU
(
);
#endif
}
END_MENU
();
#endif //TEMP_SENSOR_0 != 0
}
#endif //more than one extruder present
void
lcd_cooldown
()
{
void
lcd_cooldown
()
{
setTargetHotend0
(
0
);
setTargetHotend0
(
0
);
...
...
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