From d2f034ba84192093bcbe96eae1bd835e407bed79 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Sun, 27 Nov 2011 16:53:11 +0100 Subject: [PATCH] lcd message from gcode, m117 --- Marlin/Marlin.pde | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index d765d222b6..9cf499809c 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -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]);