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,6 +94,7 @@
94 94
 // M92  - Set axis_steps_per_unit - same syntax as G92
95 95
 // M114 - Output current position to serial port 
96 96
 // M115	- Capabilities string
97
+// M117 - display message
97 98
 // M119 - Output Endstop status to serial port
98 99
 // M140 - Set bed target temp
99 100
 // M190 - Wait for bed current temp to reach target temp.
@@ -850,6 +851,9 @@ inline void process_commands()
850 851
     case 115: // M115
851 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 853
       break;
854
+    case 117: // M117 display message
855
+      LCD_MESSAGE(cmdbuffer[bufindr]+5);
856
+      break;
853 857
     case 114: // M114
854 858
       SERIAL_PROTOCOLPGM("X:");
855 859
       SERIAL_PROTOCOL(current_position[X_AXIS]);

Ładowanie…
Anuluj
Zapisz