chiark / gitweb /
Melzi support
authorGuan Yang <guan@yang.dk>
Fri, 27 Apr 2012 15:28:10 +0000 (11:28 -0400)
committerGuan Yang <guan@yang.dk>
Wed, 9 May 2012 22:37:07 +0000 (18:37 -0400)
Marlin/Configuration.h
Marlin/pins.h

index f15876770eb702f6440b954a7b608537a9f391e7..6c5b974325f360ec561bbfcd3d370a7a346f9491 100644 (file)
@@ -26,6 +26,7 @@
 // Gen6 = 5
 // Gen6 deluxe = 51
 // Sanguinololu 1.2 and above = 62
+// Melzi = 63
 // Ultimaker = 7
 // Teensylu = 8
 // Gen3+ =9
index 0d6b6022e3e85a4efd7c463fe739b90e061bb3a7..95a036968693687bfc9aa506137e21e4f2a9b252 100644 (file)
 * Sanguinololu pin assignment
 *
 ****************************************************************************************/
-#if MOTHERBOARD == 62
+#if MOTHERBOARD == 63
+#define MELZI
+#endif
+#if MOTHERBOARD == 62 || MOTHERBOARD == 63
 #undef MOTHERBOARD
 #define MOTHERBOARD 6
 #define SANGUINOLOLU_V_1_2 
 
 #define FAN_PIN            -1 
 
+#ifdef MELZI
+#define LED_PIN            28
+#define FAN_PIN            4
+#endif
+
 #define PS_ON_PIN          -1
 #define KILL_PIN           -1
 
 #define SDPOWER            -1
 #define SDSS               31
 
+#ifdef MELZI
+#define SDSS               24
+#endif
+
 #endif