Przeglądaj źródła

lcd message from gcode, m117

Bernhard 13 lat temu
rodzic
commit
d2f034ba84
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      Marlin/Marlin.pde

+ 4
- 0
Marlin/Marlin.pde Wyświetl plik

94
 // M92  - Set axis_steps_per_unit - same syntax as G92
94
 // M92  - Set axis_steps_per_unit - same syntax as G92
95
 // M114 - Output current position to serial port 
95
 // M114 - Output current position to serial port 
96
 // M115	- Capabilities string
96
 // M115	- Capabilities string
97
+// M117 - display message
97
 // M119 - Output Endstop status to serial port
98
 // M119 - Output Endstop status to serial port
98
 // M140 - Set bed target temp
99
 // M140 - Set bed target temp
99
 // M190 - Wait for bed current temp to reach target temp.
100
 // M190 - Wait for bed current temp to reach target temp.
850
     case 115: // M115
851
     case 115: // M115
851
       SerialprintPGM("FIRMWARE_NAME:Marlin; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1");
852
       SerialprintPGM("FIRMWARE_NAME:Marlin; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1");
852
       break;
853
       break;
854
+    case 117: // M117 display message
855
+      LCD_MESSAGE(cmdbuffer[bufindr]+5);
856
+      break;
853
     case 114: // M114
857
     case 114: // M114
854
       SERIAL_PROTOCOLPGM("X:");
858
       SERIAL_PROTOCOLPGM("X:");
855
       SERIAL_PROTOCOL(current_position[X_AXIS]);
859
       SERIAL_PROTOCOL(current_position[X_AXIS]);

Ładowanie…
Anuluj
Zapisz