Skip to content

Commit

Permalink
Printrboard: Add in support for rev F of the Printrboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lwalkera committed Jul 17, 2014
1 parent ea68428 commit e94f9d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@
// 77 = 3Drag Controller
// 8 = Teensylu
// 80 = Rumba
// 81 = Printrboard (AT90USB1286)
// 81 = Printrboard rev A-E (AT90USB1286)
// 82 = Brainwave (AT90USB646)
// 83 = SAV Mk-I (AT90USB1286)
// 84 = Printrboard rev F (AT90USB1286)
// 9 = Gen3+
// 70 = Megatronics
// 701= Megatronics v2.0
Expand All @@ -70,7 +71,7 @@
// 21 = Elefu Ra Board (v3)

#ifndef MOTHERBOARD
#define MOTHERBOARD 81
#define MOTHERBOARD 84
#endif

// Define this to set a custom name for your generic Mendel,
Expand Down
13 changes: 10 additions & 3 deletions Marlin/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@
http://www.pjrc.com/teensy/teensyduino.html
* See http://reprap.org/wiki/Printrboard for more info
****************************************************************************************/
#if MOTHERBOARD == 8 || MOTHERBOARD == 81
#if MOTHERBOARD == 8 || MOTHERBOARD == 81 || MOTHERBOARD == 84
#define KNOWN_BOARD 1
#define AT90USB 1286 // Disable MarlinSerial etc.

Expand Down Expand Up @@ -1559,19 +1559,26 @@
#define Z_STOP_PIN 15
#define TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 6 // Bed / Analog pin numbering
#else // Printrboard
#elif MOTHERBOARD == 84 //Printrboard rev F
#define X_STOP_PIN 35
#define Y_STOP_PIN 8
#define Z_STOP_PIN 36
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#define SDSS 20
#else // Printrboard rev A to E
#define X_STOP_PIN 35
#define Y_STOP_PIN 8
#define Z_STOP_PIN 36
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#define SDSS 26
#endif

#define TEMP_1_PIN 2
#define TEMP_2_PIN 3

#define SDPOWER -1
#define SDSS 26
#define LED_PIN -1
#define PS_ON_PIN -1
#define KILL_PIN -1
Expand Down

0 comments on commit e94f9d5

Please sign in to comment.