//If we have an 2nd extruder or heated bed, show that in the top right corner
lcd.setCursor(8,0);
// If we have an 2nd extruder or heated bed, show that in the top right corner
# if EXTRUDERS > 1
lcd.setCursor(8,0);
tHotend=int(degHotend(1)+0.5);
#if EXTRUDERS > 1
tTarget=int(degTargetHotend(1)+0.5);
tHotend=int(degHotend(1)+0.5);
lcd.print(LCD_STR_THERMOMETER[0]);
tTarget=int(degTargetHotend(1)+0.5);
# else//Heated bed
lcd.print(LCD_STR_THERMOMETER[0]);
tHotend=int(degBed()+0.5);
#else // Heated bed
tTarget=int(degTargetBed()+0.5);
tHotend=int(degBed()+0.5);
lcd.print(LCD_STR_BEDTEMP[0]);
tTarget=int(degTargetBed()+0.5);
# endif
lcd.print(LCD_STR_BEDTEMP[0]);
lcd.print(itostr3(tHotend));
#endif
lcd.print('/');
lcd.print(itostr3(tHotend));
lcd.print(itostr3left(tTarget));
lcd.print('/');
# endif//EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
lcd.print(itostr3left(tTarget));
#endif // EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
#else // LCD_WIDTH > 19
#else//LCD_WIDTH > 19
lcd.setCursor(0,0);
lcd.setCursor(0,0);
lcd.print(LCD_STR_THERMOMETER[0]);
lcd.print(LCD_STR_THERMOMETER[0]);
lcd.print(itostr3(tHotend));
lcd.print(itostr3(tHotend));
lcd.print('/');
lcd.print('/');
lcd.print(itostr3left(tTarget));
lcd.print(itostr3left(tTarget));
lcd_printPGM(PSTR(LCD_STR_DEGREE""));
lcd_printPGM(PSTR(LCD_STR_DEGREE""));
if(tTarget<10)
if(tTarget<10)lcd.print('');
lcd.print('');
#if EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
# if EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
// If we have an 2nd extruder or heated bed, show that in the top right corner
//If we have an 2nd extruder or heated bed, show that in the top right corner
lcd.setCursor(10,0);
lcd.setCursor(10,0);
#if EXTRUDERS > 1
# if EXTRUDERS > 1
tHotend=int(degHotend(1)+0.5);
tHotend=int(degHotend(1)+0.5);
tTarget=int(degTargetHotend(1)+0.5);
tTarget=int(degTargetHotend(1)+0.5);
lcd.print(LCD_STR_THERMOMETER[0]);
lcd.print(LCD_STR_THERMOMETER[0]);
#else // Heated bed
# else//Heated bed
tHotend=int(degBed()+0.5);
tHotend=int(degBed()+0.5);
tTarget=int(degTargetBed()+0.5);
tTarget=int(degTargetBed()+0.5);
lcd.print(LCD_STR_BEDTEMP[0]);
lcd.print(LCD_STR_BEDTEMP[0]);
#endif
# endif
lcd.print(itostr3(tHotend));
lcd.print(itostr3(tHotend));
lcd.print('/');
lcd.print('/');
lcd.print(itostr3left(tTarget));
lcd.print(itostr3left(tTarget));
lcd_printPGM(PSTR(LCD_STR_DEGREE""));
lcd_printPGM(PSTR(LCD_STR_DEGREE""));
if(tTarget<10)lcd.print('');
if(tTarget<10)
lcd.print('');
#endif // EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
# endif//EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
#endif//LCD_WIDTH > 19
#endif // LCD_WIDTH > 19
#if LCD_HEIGHT > 2
#if LCD_HEIGHT > 2
//Lines 2 for 4 line LCD
// Lines 2 for 4 line LCD
# if LCD_WIDTH < 20
#if LCD_WIDTH < 20
# ifdef SDSUPPORT
#ifdef SDSUPPORT
lcd.setCursor(0,2);
lcd.setCursor(0,2);
lcd_printPGM(PSTR("SD"));
lcd_printPGM(PSTR("SD"));
if(IS_SD_PRINTING)
if(IS_SD_PRINTING)
lcd.print(itostr3(card.percentDone()));
lcd.print(itostr3(card.percentDone()));
else
else
lcd_printPGM(PSTR("---"));
lcd_printPGM(PSTR("---"));
lcd.print('%');
lcd.print('%');
# endif//SDSUPPORT
#endif // SDSUPPORT
# else//LCD_WIDTH > 19
# if EXTRUDERS > 1 && TEMP_SENSOR_BED != 0
#else // LCD_WIDTH > 19
//If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps
tHotend=int(degBed()+0.5);
#if EXTRUDERS > 1 && TEMP_SENSOR_BED != 0
tTarget=int(degTargetBed()+0.5);
// If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps