2-Axis CNC G-Code Interpreter
- This topic has 1 reply, 1 voice, and was last updated 5 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Shop › Forum › Everything Else › 2-Axis CNC G-Code Interpreter
Hi Dan
I’m working my way through your tutorial on:
If I cut-and-paste the code from this page, and try to compile it, I get the a couple of minor errors:
exit status 1
‘set_feedrate’ was not declared in this scope
comment out a couple of instances of that line and I get
exit status 1
‘VERSION’ was not declared in this scope
comment that out, and I get the big one:
exit status 1
‘parsenumber’ was not declared in this scope
I think the ‘parsenumber’ function is not shown on the tutorial page?
If I use the complete code from
https://raw.githubusercontent.com/MarginallyClever/GcodeCNCDemo/master/GcodeCNCDemo2Axis/GcodeCNCDemo2Axis.ino
I get:
8:20: fatal error: config.h: No such file or directory
Where does the config.h file come from?
If I comment that out, I get:
exit status 1
‘MAX_BUF’ was not declared in this scope
So, I really like your software, particularly the cut-down G-Code interpreter from the tutorial page. It would be a perfect starting point for my project, and a great way to learn.
Would you have any idea why I’m having trouble with the code? Is there a bit missing on the tutorial page, or some other files that I need to install first?
Thanks!
Pete
Hi All
I found one of the errors – parsenumber is spelled both ‘parsenumber’ and ‘parseNumber’
Still other errors though.
The 4-axis one seems to compile fine, so I’ll proceed with that one! 🙂
Thanks
Pete
This Code Looks Complicated