Farm mode: PFW360, PFW361, PFW362, PFW363

This commit is contained in:
Robert Pelnar 2018-06-25 17:29:34 +02:00
parent 6d4c3b8b27
commit 12de2f95e6
4 changed files with 12 additions and 2 deletions

View File

@ -1174,11 +1174,17 @@ void setup()
selectedSerialPort = eeprom_read_byte((uint8_t*)EEPROM_SECOND_SERIAL_ACTIVE);
if (selectedSerialPort == 0xFF) selectedSerialPort = 0;
if (farm_mode)
{
{
no_response = true; //we need confirmation by recieving PRUSA thx
important_status = 8;
prusa_statistics(8);
selectedSerialPort = 1;
//increased extruder current (PFW363)
tmc2130_current_h[E_AXIS] = 36;
tmc2130_current_r[E_AXIS] = 36;
//disabled filament autoload (PFW360)
filament_autoload_enabled = false;
eeprom_update_byte((uint8_t*)EEPROM_FSENS_AUTOLOAD_ENABLED, 0);
}
MYSERIAL.begin(BAUDRATE);
fdev_setup_stream(uartout, uart_putchar, NULL, _FDEV_SETUP_WRITE); //setup uart out stream

View File

@ -7451,7 +7451,9 @@ static void lcd_send_status() {
//send important status messages periodicaly
prusa_statistics(important_status, saved_filament_type);
NcTime = millis();
#ifdef FARM_CONNECT_MESSAGE
lcd_connect_printer();
#endif //FARM_CONNECT_MESSAGE
}
}

View File

@ -828,7 +828,7 @@ if (print_sd_status)
// Farm number display
if (farm_mode)
{
lcd.setCursor(0, 6);
lcd.setCursor(6, 2);
lcd_printPGM(PSTR(" F"));
lcd.print(farm_no);
lcd_printPGM(PSTR(" "));

View File

@ -468,6 +468,8 @@
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
#endif // PIDTEMPBED
//connect message when communication with monitoring broken
//#define FARM_CONNECT_MESSAGE
/*-----------------------------------
PREHEAT SETTINGS