Make your very own CNC machine or Robot the easy way, with an Arduino!
July 15, 2013
Thanks to Alex for fixing an otherwise undiscovered typo in HAL2Arduino’s program.ino. 🙂
Filed under HAL2Arduino
Tagged with HAL2Arduino
Please may I know where the typo is.
Just the very first line of program.ino. Within in the comments He changed my bad grammatical use of the word “your” to the proper contraction, “you’re”.
I know some people might think that it’s silly to correct such a small issue. However, it actually bugs some people endlessly, my Wife is one of them. 😉
Damn…racked my brains for that one.
LOL, fortunately Linux has some nice console (cat, diff, sort, etc) tools for just such events. 😉
Hi, I think there is an error in your program.
The function switchesSetup() is never called.
I found this when I used the Arduino Due.
Not yet, I haven’t had the time to add it in to processCommand(). But its there for others to make good upon.
Hi, I was experimenting with this and just added it to the setup() function like so:
I also set in modLimSwitch:
#define useLimitSwitches true
#define XaxisEnableSwitches true
#define xMinSwitch A1
#define xMaxSwitch A1
#define xHomeSwitch A1
Everything runs, and compiles, I send the arduino 996 0 0 996; and see that it “green lights”, but when I ground A1 (or put 5v to it for that matter) I don’t see the fault codes get printed on the serial out (233|231|215). Am I missing something?
That’s odd. You should get some feedback.
Try this, Test out just one binding at a time on A5, if it works add one, if that works add the third.
Let me know what you find out. Thanks!
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Notify me of new posts via email.
Blog at WordPress.com.