chiark / gitweb /
lcd message from gcode, m117
authorBernhard <bkubicek@x201.(none)>
Sun, 27 Nov 2011 15:53:11 +0000 (16:53 +0100)
committerBernhard <bkubicek@x201.(none)>
Sun, 27 Nov 2011 15:53:11 +0000 (16:53 +0100)
Marlin/Marlin.pde

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