Skip to content

Temporary pause button for pwdr#31

Open
columbus1231 wants to merge 3 commits intoPwdr:masterfrom
columbus1231:patch-1
Open

Temporary pause button for pwdr#31
columbus1231 wants to merge 3 commits intoPwdr:masterfrom
columbus1231:patch-1

Conversation

@columbus1231
Copy link
Copy Markdown

This is the code I added to the pwdr firmware so that I would be able to use a switch to pause the printer while printing temporarily and after I hold down (toggle) the switch.
Once I release the switch, the printer continues printing the work piece from where it left off. This allows one to make modifications in the middle of a printing job to their work piece.
Switch terminal on one side is on pin 5 and ground and the other is on 5v supply.

This is the code I added to the pwdr firmware so that I would be able to use a switch to pause the printer while printing temporarily and after I hold down (toggle) the switch.
Once I release the switch, the printer continues printing the work piece from where it left off. This allows one to make modifications in the middle of a printing job to their work piece.
Switch terminal on one side is on pin 5 and ground and the other is on 5v supply.
@Pwdr
Copy link
Copy Markdown
Owner

Pwdr commented Jun 27, 2014

Please call the button not switchPin but pauseButtonPin.

And also change the triple equal for a double equal sign (while (digitalRead(switchPin) == LOW))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants