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: "); |