GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GGcode/debug_gcode_function.ggcode at main · 1T17/GGcode Expand file tree/ Copy pathdebug_gcode_function.ggcodeMore file actions 25 lines (19 loc) · 485 Bytes / Copy pathdebug_gcode_function.ggcodeFile metadata and controls25 lines (19 loc) · 485 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 // Debug G-code in functions note {=== Debug G-code Function Test ===} let safe_z = 2 // Test G-code outside function (should work) note {G-code outside function:} G0 Z[safe_z] X10 Y10 G1 X20 Y20 // Test G-code inside function function test_gcode() { note {G-code inside function:} G0 Z[safe_z] X30 Y30 G1 X40 Y40 } // Call the function test_gcode() // More G-code outside function note {More G-code outside function:} G0 Z[safe_z] X0 Y0 note {=== Debug Complete ===} |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |