|
|
|
@ -505,10 +505,18 @@ void MainMenu::showPrepare()
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_SET_ORIGIN) , BLOCK;enquecommand("G92 X0 Y0 Z0");beepshort(); ) ;
|
|
|
|
|
break;
|
|
|
|
|
case ItemP_preheat_pla:
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_PREHEAT_PLA) , BLOCK;setTargetHotend0(PLA_PREHEAT_HOTEND_TEMP);setTargetBed(PLA_PREHEAT_HPB_TEMP);analogWrite(FAN_PIN, PLA_PREHEAT_FAN_SPEED); beepshort(); ) ;
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_PREHEAT_PLA) , BLOCK;setTargetHotend0(PLA_PREHEAT_HOTEND_TEMP);setTargetBed(PLA_PREHEAT_HPB_TEMP);
|
|
|
|
|
#if FAN_PIN > -1
|
|
|
|
|
analogWrite(FAN_PIN, PLA_PREHEAT_FAN_SPEED);
|
|
|
|
|
#endif
|
|
|
|
|
beepshort(); );
|
|
|
|
|
break;
|
|
|
|
|
case ItemP_preheat_abs:
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_PREHEAT_ABS) , BLOCK;setTargetHotend0(ABS_PREHEAT_HOTEND_TEMP);setTargetBed(ABS_PREHEAT_HPB_TEMP); analogWrite(FAN_PIN, ABS_PREHEAT_FAN_SPEED); beepshort(); ) ;
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_PREHEAT_ABS) , BLOCK;setTargetHotend0(ABS_PREHEAT_HOTEND_TEMP);setTargetBed(ABS_PREHEAT_HPB_TEMP);
|
|
|
|
|
#if FAN_PIN > -1
|
|
|
|
|
analogWrite(FAN_PIN, ABS_PREHEAT_FAN_SPEED);
|
|
|
|
|
#endif
|
|
|
|
|
beepshort(); );
|
|
|
|
|
break;
|
|
|
|
|
case ItemP_cooldown:
|
|
|
|
|
MENUITEM( lcdprintPGM(MSG_COOLDOWN) , BLOCK;setTargetHotend0(0);setTargetBed(0);beepshort(); ) ;
|
|
|
|
|