Merge pull request #1476 from Natealus/Development
Compiling errors with 4 Extruders defined and Viki 2 Implementation
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| #ifndef CONFIGURATION_H | ||||
| #ifndef CONFIGURATION_H | ||||
| #define CONFIGURATION_H | ||||
|  | ||||
| #include "boards.h" | ||||
| @@ -147,6 +147,7 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define TEMP_SENSOR_0 -1 | ||||
| #define TEMP_SENSOR_1 -1 | ||||
| #define TEMP_SENSOR_2 0 | ||||
| #define TEMP_SENSOR_3 0 | ||||
| #define TEMP_SENSOR_BED 0 | ||||
|  | ||||
| // This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted. | ||||
| @@ -164,6 +165,7 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define HEATER_0_MINTEMP 5 | ||||
| #define HEATER_1_MINTEMP 5 | ||||
| #define HEATER_2_MINTEMP 5 | ||||
| #define HEATER_3_MINTEMP 5 | ||||
| #define BED_MINTEMP 5 | ||||
|  | ||||
| // When temperature exceeds max temp, your heater will be switched off. | ||||
| @@ -172,6 +174,7 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define HEATER_0_MAXTEMP 275 | ||||
| #define HEATER_1_MAXTEMP 275 | ||||
| #define HEATER_2_MAXTEMP 275 | ||||
| #define HEATER_3_MAXTEMP 275 | ||||
| #define BED_MAXTEMP 150 | ||||
|  | ||||
| // If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the | ||||
| @@ -368,8 +371,9 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of | ||||
| #define INVERT_Z_DIR false | ||||
|  | ||||
| #define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false | ||||
| #define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false | ||||
| #define INVERT_E1_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false | ||||
| #define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false | ||||
| #define INVERT_E3_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false | ||||
|  | ||||
| // ENDSTOP SETTINGS: | ||||
| // Sets direction of endstops when homing; 1=MAX, -1=MIN | ||||
| @@ -495,6 +499,12 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of | ||||
| // http://reprap.org/wiki/MaKr3d_MaKrPanel | ||||
| //#define MAKRPANEL | ||||
|  | ||||
| // The Panucatt Devices Viki 2.0 and mini Viki with Graphic LCD | ||||
| // http://panucatt.com | ||||
| // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib | ||||
| //#define VIKI2 | ||||
| //#define miniVIKI | ||||
|  | ||||
| // The RepRapDiscount Smart Controller (white PCB) | ||||
| // http://reprap.org/wiki/RepRapDiscount_Smart_Controller | ||||
| //#define REPRAP_DISCOUNT_SMART_CONTROLLER | ||||
| @@ -535,6 +545,22 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of | ||||
|  #define DEFAULT_LCD_CONTRAST 17 | ||||
| #endif | ||||
|  | ||||
| #if defined(miniVIKI) || defined(VIKI2) | ||||
|  #define ULTRA_LCD  //general LCD support, also 16x2 | ||||
|  #define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family) | ||||
|  #define ULTIMAKERCONTROLLER //as available from the Ultimaker online store. | ||||
|   | ||||
|   #ifdef miniVIKI | ||||
|    #define DEFAULT_LCD_CONTRAST 95 | ||||
|   #else | ||||
|    #define DEFAULT_LCD_CONTRAST 40 | ||||
|   #endif | ||||
|    | ||||
|  #define ENCODER_PULSES_PER_STEP 4 | ||||
|  #define ENCODER_STEPS_PER_MENU_ITEM 1 | ||||
| #endif | ||||
|  | ||||
|  | ||||
| #if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) | ||||
|  #define DOGLCD | ||||
|  #define U8GLIB_ST7920 | ||||
|   | ||||
| @@ -78,6 +78,7 @@ | ||||
| #define EXTRUDER_0_AUTO_FAN_PIN   -1 | ||||
| #define EXTRUDER_1_AUTO_FAN_PIN   -1 | ||||
| #define EXTRUDER_2_AUTO_FAN_PIN   -1 | ||||
| #define EXTRUDER_3_AUTO_FAN_PIN   -1 | ||||
| #define EXTRUDER_AUTO_FAN_TEMPERATURE 50 | ||||
| #define EXTRUDER_AUTO_FAN_SPEED   255  // == full speed | ||||
|  | ||||
| @@ -472,6 +473,10 @@ const unsigned int dropsegments=5; //everything with less than this number of st | ||||
|   #define THERMISTORHEATER_2 TEMP_SENSOR_2 | ||||
|   #define HEATER_2_USES_THERMISTOR | ||||
| #endif | ||||
| #if TEMP_SENSOR_3 > 0 | ||||
|   #define THERMISTORHEATER_3 TEMP_SENSOR_3 | ||||
|   #define HEATER_3_USES_THERMISTOR | ||||
| #endif | ||||
| #if TEMP_SENSOR_BED > 0 | ||||
|   #define THERMISTORBED TEMP_SENSOR_BED | ||||
|   #define BED_USES_THERMISTOR | ||||
| @@ -485,6 +490,9 @@ const unsigned int dropsegments=5; //everything with less than this number of st | ||||
| #if TEMP_SENSOR_2 == -1 | ||||
|   #define HEATER_2_USES_AD595 | ||||
| #endif | ||||
| #if TEMP_SENSOR_3 == -1 | ||||
|   #define HEATER_3_USES_AD595 | ||||
| #endif | ||||
| #if TEMP_SENSOR_BED == -1 | ||||
|   #define BED_USES_AD595 | ||||
| #endif | ||||
| @@ -503,6 +511,10 @@ const unsigned int dropsegments=5; //everything with less than this number of st | ||||
|   #undef HEATER_2_MINTEMP | ||||
|   #undef HEATER_2_MAXTEMP | ||||
| #endif | ||||
| #if TEMP_SENSOR_3 == 0 | ||||
|   #undef HEATER_3_MINTEMP | ||||
|   #undef HEATER_3_MAXTEMP | ||||
| #endif | ||||
| #if TEMP_SENSOR_BED == 0 | ||||
|   #undef BED_MINTEMP | ||||
|   #undef BED_MAXTEMP | ||||
|   | ||||
		Reference in New Issue
	
	Block a user