From af7ebae0f8aae444d78a4630fcd5a48b3225f2fd Mon Sep 17 00:00:00 2001 From: midopple Date: Tue, 15 May 2012 12:36:25 +0200 Subject: Add MOTHERBOARD 51 for GEN6 with Heatbed and Heatbedsensor --- Sprinter/Configuration.h | 1 + Sprinter/pins.h | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 3cb9644..ccf2762 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -7,6 +7,7 @@ // MEGA/RAMPS up to 1.2 = 3, // RAMPS 1.3/1.4 = 33 // Gen6 = 5, +// Gen6 deluxe = 51 // Sanguinololu up to 1.1 = 6 // Sanguinololu 1.2 and above = 62 // Gen 7 @ 16MHZ only= 7 diff --git a/Sprinter/pins.h b/Sprinter/pins.h index 63ea464..946118f 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -568,6 +568,11 @@ * Gen6 pin assignment * ****************************************************************************************/ +#if MOTHERBOARD == 51 + #define MOTHERBOARD 5 + #define GEN6_DELUXE +#endif + #if MOTHERBOARD == 5 #define KNOWN_BOARD 1 @@ -602,13 +607,18 @@ #define E_ENABLE_PIN 3 //Added @ EJE Electronics 20100715 #define TEMP_0_PIN 5 //changed @ rkoeppl 20110410 #define HEATER_0_PIN 14 //changed @ rkoeppl 20110410 - #define HEATER_1_PIN -1 //changed @ rkoeppl 20110410 + #ifdef GEN6_DELUXE + #define HEATER_1_PIN 1 + #define TEMP_1_PIN 0 + #else + #define HEATER_1_PIN -1 + #define TEMP_1_PIN -1 + #endif #define SDPOWER -1 #define SDSS 17 #define LED_PIN -1 //changed @ rkoeppl 20110410 - #define TEMP_1_PIN -1 //changed @ rkoeppl 20110410 #define FAN_PIN -1 //changed @ rkoeppl 20110410 #define PS_ON_PIN -1 //changed @ rkoeppl 20110410 //our pin for debugging. -- cgit v1.2.1