summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorJoe Kerman <jkerman@gmail.com>2011-09-30 14:18:54 -0500
committerJoe Kerman <jkerman@gmail.com>2011-09-30 14:18:54 -0500
commit9288e83cd265d511548fb512238d0d26562fde1d (patch)
tree7503707687227cb271f35ddff4440bc25452036a /Sprinter
parent8310444f5484546d3366990ec65d3459070ca9fa (diff)
pins.h entry for Teensylu
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Configuration.h1
-rw-r--r--Sprinter/pins.h53
2 files changed, 54 insertions, 0 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h
index 1e25d17..f36183e 100644
--- a/Sprinter/Configuration.h
+++ b/Sprinter/Configuration.h
@@ -9,6 +9,7 @@
// Gen6 = 5,
// Sanguinololu up to 1.1 = 6
// Sanguinololu 1.2 and above = 62
+// Teensylu (at90usb) = 8
// Gen 3 Plus = 21
// gen 3 Monolithic Electronics = 22
#define MOTHERBOARD 3
diff --git a/Sprinter/pins.h b/Sprinter/pins.h
index 3cc92dc..6df5288 100644
--- a/Sprinter/pins.h
+++ b/Sprinter/pins.h
@@ -620,3 +620,56 @@
#endif
#endif
+
+/****************************************************************************************
+* Teensylu 0.7 pin assingments (ATMEGA90USB)
+* Requires the Teensyduino software with Teensy2.0++ selected in arduino IDE!
+* SDSUPPORT must be disabled
+****************************************************************************************/
+#if MOTHERBOARD == 8
+#define MOTHERBOARD 8
+#define KNOWN_BOARD 1
+
+
+#define X_STEP_PIN 28
+#define X_DIR_PIN 29
+#define X_ENABLE_PIN 19
+#define X_MIN_PIN 25
+#define X_MAX_PIN -1
+
+#define Y_STEP_PIN 30
+#define Y_DIR_PIN 31
+#define Y_ENABLE_PIN 18
+#define Y_MIN_PIN 26
+#define Y_MAX_PIN -1
+
+#define Z_STEP_PIN 32
+#define Z_DIR_PIN 33
+#define Z_ENABLE_PIN 17
+#define Z_MIN_PIN 27
+#define Z_MAX_PIN -1
+
+#define E_STEP_PIN 34
+#define E_DIR_PIN 35
+#define E_ENABLE_PIN 13
+
+
+
+#define HEATER_0_PIN 15 // Extruder
+#define HEATER_1_PIN 14 // Bed
+#define FAN_PIN 16 // Fan
+
+#define TEMP_0_PIN 7 // Extruder
+#define TEMP_1_PIN 6 // Bed
+
+// #define SDPOWER 48
+// #define SDSS 53
+#define LED_PIN -1
+#define PS_ON_PIN -1
+#define KILL_PIN -1 //28
+
+//TODO: SDsupport
+
+#endif
+
+