Marlin.ino

changeset 3
770b218a4931
parent 1
b584642d4f58
equal deleted inserted replaced
2:b373b0288715 3:770b218a4931
72 #include "EEPROMwrite.h" 72 #include "EEPROMwrite.h"
73 #include "language.h" 73 #include "language.h"
74 #include "pins_arduino.h" 74 #include "pins_arduino.h"
75 #include "slave_comms.h" 75 #include "slave_comms.h"
76 76
77 #define VERSION_STRING "1.0.2 RRP/NeoSoft" 77 #define VERSION_STRING "1.0.2 RRP/NeoSoft\nModified for ERFH - Engraving Robot From Hell"
78 78
79 // look here for descriptions of gcodes: http://linuxcnc.org/handbook/gcode/g-code.html 79 // look here for descriptions of gcodes: http://linuxcnc.org/handbook/gcode/g-code.html
80 // http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes 80 // http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes
81 81
82 //Implemented Codes 82 //Implemented Codes
1504 n571_enabled = (int)code_value(); 1504 n571_enabled = (int)code_value();
1505 } 1505 }
1506 1506
1507 WRITE(M571_PIN, LOW);// M571 disable in any case! 1507 WRITE(M571_PIN, LOW);// M571 disable in any case!
1508 1508
1509 if (!(code_seen('S') || code_seen('E'))) {
1510 // only output to console when calles without parameters
1509 SERIAL_ECHO_START; 1511 SERIAL_ECHO_START;
1510 SERIAL_ECHO("Parameters: S<0|1> enable extruder active pin, E<0|1> if enabled prevent real drive movement"); 1512 SERIAL_ECHO("Parameters: S<0|1> enable extruder active pin, E<0|1> if enabled prevent real drive movement");
1511 1513
1512 SERIAL_ECHO_START; 1514 SERIAL_ECHO_START;
1513 SERIAL_ECHO("Extruder active pin: "); 1515 SERIAL_ECHO("Extruder active pin: ");
1522 if (!n571_enabled) { 1524 if (!n571_enabled) {
1523 SERIAL_ECHOLN("enabled"); 1525 SERIAL_ECHOLN("enabled");
1524 } else { 1526 } else {
1525 SERIAL_ECHOLN("disabled"); 1527 SERIAL_ECHOLN("disabled");
1526 } 1528 }
1527 1529 }
1528 break; 1530 break;
1529 1531
1530 1532
1531 1533
1532 } 1534 }

mercurial