Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Marlin/pins_PRINTRBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@
// Limit Switches
//
#define X_STOP_PIN 47 // E3
#if ENABLED(SDSUPPORT)
#define Y_STOP_PIN 37 // E5 - Move Ystop to Estop socket
#else
#define Y_STOP_PIN 20 // B0 SS - Ystop in Ystop socket
#endif
#define Y_STOP_PIN 20 // B0 SS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this pin marked as "SS", as the comment says?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

B0 is the default SS pin for the Teensy++ 2.0:

image

I think that was the source of the original confusion. It's just that the Printrboard doesn't use the default SS pin for the SD card, it uses B6.

Copy link
Member

@thinkyhead thinkyhead May 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, I have that diagram! Where the heck is PE2-PE3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that's a good question. I think that PE2 and PE3 are the AVR register names, with corresponding pins on the IC, but those pins were probably just not given headers on the Teensy board. The Printrboard uses the same IC, hence it uses the same Arduino pin numbers as the Teensy (so I thought the diagram was useful), but since it's a standalone board, it can make use of all the registers it needs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, makes sense. Of course, Printrboard is not Teensy, just "Teensy-like."

#define Z_STOP_PIN 36 // E4

//
Expand Down Expand Up @@ -120,7 +116,7 @@
//
// Misc. Functions
//
#define SDSS 20 // B0 SS
#define SDSS 26 // B6
#define FILWIDTH_PIN 2 // Analog Input

//
Expand Down