From 48dc731df4b6d4f68838bad8aa6a5924a069cab5 Mon Sep 17 00:00:00 2001 From: kludgineer Date: Mon, 2 May 2011 23:29:15 -0700 Subject: Edited Tonokip_Firmware/Tonokip_Firmware.pde via GitHub --- Tonokip_Firmware/Tonokip_Firmware.pde | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde index 87935c1..851a771 100644 --- a/Tonokip_Firmware/Tonokip_Firmware.pde +++ b/Tonokip_Firmware/Tonokip_Firmware.pde @@ -26,6 +26,7 @@ // M106 - Fan on // M107 - Fan off // M109 - Wait for current temp to reach target temp. +// M114 - Display current position //Custom M Codes // M80 - Turn on Power Supply @@ -731,6 +732,17 @@ inline void process_commands() case 115: // M115 Serial.println("FIRMWARE_NAME:Sprinter FIRMWARE_URL:http%%3A/github.com/kliment/Sprinter/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1"); break; + + case 114: // M114 + Serial.print("X:"); + Serial.print(current_x); + Serial.print("Y:"); + Serial.print(current_y); + Serial.print("Z:"); + Serial.print(current_z); + Serial.print("E:"); + Serial.println(current_e); + break; } } -- cgit v1.2.1