GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GGcode/debug_gcode_function.ggcode at main · 1T17/GGcode

Expand file tree

/

debug_gcode_function.ggcode

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
25 lines (19 loc) · 485 Bytes
/

debug_gcode_function.ggcode

Copy path

File metadata and controls

25 lines (19 loc) · 485 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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.