summaryrefslogtreecommitdiff
path: root/Sprinter/pins.h
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-10-04 22:15:37 -0700
committerkliment <kliment.yanev@gmail.com>2011-10-04 22:15:37 -0700
commit5869358f65cb6304978d7b34faa9b5747f90a20e (patch)
treebae243a3bb116b0a09a66a9a7fa43fafdb74c596 /Sprinter/pins.h
parentf8325693088967c7a7e1dfb7c4ab6308f07238bb (diff)
parent74dd922e9c508445a8d957e12ae78e885a127f7d (diff)
Merge pull request #100 from Kerman/master
Support for Teensylu (at90usb1286)
Diffstat (limited to 'Sprinter/pins.h')
-rw-r--r--Sprinter/pins.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/Sprinter/pins.h b/Sprinter/pins.h
index 3cc92dc..d9111ce 100644
--- a/Sprinter/pins.h
+++ b/Sprinter/pins.h
@@ -620,3 +620,60 @@
#endif
#endif
+
+/****************************************************************************************
+* Teensylu 0.7 pin assingments (ATMEGA90USB)
+* Requires the Teensyduino software with Teensy2.0++ selected in arduino IDE!
+****************************************************************************************/
+#if MOTHERBOARD == 8
+#define MOTHERBOARD 8
+#define KNOWN_BOARD 1
+
+
+#define X_STEP_PIN 0
+#define X_DIR_PIN 1
+#define X_ENABLE_PIN 39
+#define X_MIN_PIN 13
+#define X_MAX_PIN -1
+
+#define Y_STEP_PIN 2
+#define Y_DIR_PIN 3
+#define Y_ENABLE_PIN 38
+#define Y_MIN_PIN 14
+#define Y_MAX_PIN -1
+
+#define Z_STEP_PIN 4
+#define Z_DIR_PIN 5
+#define Z_ENABLE_PIN 23
+#define Z_MIN_PIN 15
+#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 7 // Extruder
+#define TEMP_1_PIN 6 // Bed
+
+#define SDPOWER -1
+#define SDSS 8
+#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
+
+