diff options
author | kliment <kliment.yanev@gmail.com> | 2012-02-05 23:30:34 -0800 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2012-02-05 23:30:34 -0800 |
commit | 0ff51036c47778562a39a011c639b792175642bd (patch) | |
tree | a2250add8bf9bcf8d9e5e69b6f581811269fce04 | |
parent | 012855c6d1dedf36991c958a2aa74bdc76eb86ee (diff) | |
parent | 376121d29257fb0688dd7fac129f8fbc594876d1 (diff) |
Merge pull request #134 from lwalkera/printrboard
Add pin definition for the Printrboard Rev B
-rw-r--r-- | Sprinter/pins.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Sprinter/pins.h b/Sprinter/pins.h index fbe6a6e..83186bb 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -743,6 +743,62 @@ #endif +/**************************************************************************************** +* Printrboard Rev. B pin assingments (ATMEGA90USB1286) +* Requires the Teensyduino software with Teensy2.0++ selected in arduino IDE! +* See http://reprap.org/wiki/Printrboard for more info +****************************************************************************************/ +#if MOTHERBOARD == 9 +#define MOTHERBOARD 9 +#define KNOWN_BOARD 1 + + +#define X_STEP_PIN 0 +#define X_DIR_PIN 1 +#define X_ENABLE_PIN 39 +#define X_MIN_PIN 35 +#define X_MAX_PIN -1 + +#define Y_STEP_PIN 2 +#define Y_DIR_PIN 3 +#define Y_ENABLE_PIN 38 +#define Y_MIN_PIN 8 +#define Y_MAX_PIN -1 + +#define Z_STEP_PIN 4 +#define Z_DIR_PIN 5 +#define Z_ENABLE_PIN 23 +#define Z_MIN_PIN 36 +#define Z_MAX_PIN -1 + +#define E_STEP_PIN 6 +#define E_DIR_PIN 7 +#define E_ENABLE_PIN 19 + + + +#define HEATER_0_PIN 21 // Extruder +#define HEATER_1_PIN 20 // Bed +#define FAN_PIN 22 // Fan + +#define TEMP_0_PIN 1 // Extruder +#define TEMP_1_PIN 0 // Bed + +#define SDPOWER -1 +#define SDSS 26 +#define LED_PIN -1 +#define PS_ON_PIN -1 +#define KILL_PIN -1 + +#ifndef SDSUPPORT +// these pins are defined in the SD library if building with SD support + #define SCK_PIN 9 + #define MISO_PIN 11 + #define MOSI_PIN 10 +#endif + +#endif + #ifndef KNOWN_BOARD #error Unknown MOTHERBOARD value in configuration.h #endif |