Groups
Sign in
Groups
MakerGear - Make Today, Change Tomorrow
Conversations
About
Send feedback
Help
Sprinter For Prusa
1,106 views
Skip to first unread message
Rick Pollack
unread,
Oct 27, 2011, 11:06:32 PM
10/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MakerGear
This version is configured to work with Pronterface.
Comment out:
Serial.println("start");
in the setup function in sprinter.pde to work with repsnapper for windows.
Sprinter.zip
sfisher10
unread,
Nov 3, 2011, 5:56:43 PM
11/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MakerGear - Make Today, Change Tomorrow
In Sprinter.pde, the line:
d = (abs(axis_diff[2]>0))?sqrt(xy_d * xy_d + axis_diff[2] *
axis_diff[2]):xy_d;
Should be changed to:
d = (abs(axis_diff[2])>0)?sqrt(xy_d * xy_d + axis_diff[2] *
axis_diff[2]):xy_d;
It's bad luck to take the abs() of a boolean result.
> Sprinter.zip
> 95KViewDownload
polymaker
unread,
Dec 1, 2011, 8:30:59 PM
12/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MakerGear - Make Today, Change Tomorrow
Wow, I really had to squint at that for awhile before I could tell
what the changes were. Good call though. To save others some time, it
changes:
abs(axis_diff[2]>0))
to
abs(axis_diff[2])>0)
The second to last closing parentheses gets shifted.
Reply all
Reply to author
Forward
0 new messages