|
@ -298,7 +298,7 @@ |
|
|
* Arduino Mega pin assignment |
|
|
* Arduino Mega pin assignment |
|
|
* |
|
|
* |
|
|
****************************************************************************************/ |
|
|
****************************************************************************************/ |
|
|
#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 77 |
|
|
#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 |
|
|
#define KNOWN_BOARD 1 |
|
|
#define KNOWN_BOARD 1 |
|
|
|
|
|
|
|
|
//////////////////FIX THIS//////////////
|
|
|
//////////////////FIX THIS//////////////
|
|
@ -314,7 +314,7 @@ |
|
|
// #define RAMPS_V_1_0
|
|
|
// #define RAMPS_V_1_0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 77 |
|
|
#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 |
|
|
|
|
|
|
|
|
#define LARGE_FLASH true |
|
|
#define LARGE_FLASH true |
|
|
|
|
|
|
|
@ -392,7 +392,7 @@ |
|
|
#define LED_PIN 13 |
|
|
#define LED_PIN 13 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if MOTHERBOARD == 33 |
|
|
#if MOTHERBOARD == 33 || MOTHERBOARD == 35 |
|
|
#define FAN_PIN 9 // (Sprinter config)
|
|
|
#define FAN_PIN 9 // (Sprinter config)
|
|
|
#else |
|
|
#else |
|
|
#define FAN_PIN 4 // IO pin. Buffer needed
|
|
|
#define FAN_PIN 4 // IO pin. Buffer needed
|
|
@ -402,6 +402,10 @@ |
|
|
#define FAN_PIN 8 |
|
|
#define FAN_PIN 8 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if MOTHERBOARD == 35 |
|
|
|
|
|
#define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#define PS_ON_PIN 12 |
|
|
#define PS_ON_PIN 12 |
|
|
|
|
|
|
|
|
#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL) |
|
|
#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL) |
|
@ -410,12 +414,18 @@ |
|
|
#define KILL_PIN -1 |
|
|
#define KILL_PIN -1 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define HEATER_0_PIN 10 // EXTRUDER 1
|
|
|
#if MOTHERBOARD == 35 |
|
|
|
|
|
#define HEATER_0_PIN 8 |
|
|
|
|
|
#else |
|
|
|
|
|
#define HEATER_0_PIN 10 // EXTRUDER 1
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if MOTHERBOARD == 33 |
|
|
#if MOTHERBOARD == 33 |
|
|
#define HEATER_1_PIN -1 |
|
|
#define HEATER_1_PIN -1 |
|
|
#else |
|
|
#else |
|
|
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
|
|
|
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define HEATER_2_PIN -1 |
|
|
#define HEATER_2_PIN -1 |
|
|
|
|
|
|
|
|
#if MOTHERBOARD == 77 |
|
|
#if MOTHERBOARD == 77 |
|
@ -427,10 +437,15 @@ |
|
|
#define TEMP_0_PIN 13 // ANALOG NUMBERING
|
|
|
#define TEMP_0_PIN 13 // ANALOG NUMBERING
|
|
|
#define TEMP_1_PIN 15 // ANALOG NUMBERING
|
|
|
#define TEMP_1_PIN 15 // ANALOG NUMBERING
|
|
|
#define TEMP_2_PIN -1 // ANALOG NUMBERING
|
|
|
#define TEMP_2_PIN -1 // ANALOG NUMBERING
|
|
|
#if MOTHERBOARD == 77 |
|
|
|
|
|
#define HEATER_BED_PIN 9 // BED
|
|
|
#if MOTHERBOARD == 35 |
|
|
|
|
|
#define HEATER_BED_PIN -1 // NO BED
|
|
|
#else |
|
|
#else |
|
|
#define HEATER_BED_PIN 8 // BED
|
|
|
#if MOTHERBOARD == 77 |
|
|
|
|
|
#define HEATER_BED_PIN 9 // BED
|
|
|
|
|
|
#else |
|
|
|
|
|
#define HEATER_BED_PIN 8 // BED
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
|
|
|
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
|
|
|
|
|
|
|
|
@ -578,7 +593,7 @@ |
|
|
#define TEMP_2_PIN -1 |
|
|
#define TEMP_2_PIN -1 |
|
|
#define TEMP_BED_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
|
|
|
#define TEMP_BED_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
|
|
|
|
|
|
|
|
|
#endif // MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 77
|
|
|
#endif // MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77
|
|
|
|
|
|
|
|
|
// SPI for Max6675 Thermocouple
|
|
|
// SPI for Max6675 Thermocouple
|
|
|
|
|
|
|
|
@ -592,9 +607,7 @@ |
|
|
#define MAX6675_SS 49 |
|
|
#define MAX6675_SS 49 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#endif //MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 77
|
|
|
#endif //MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************************
|
|
|
/****************************************************************************************
|
|
|
* Duemilanove w/ ATMega328P pin assignment |
|
|
* Duemilanove w/ ATMega328P pin assignment |
|
|