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" | ||||
| @@ -122,6 +122,7 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define TEMP_SENSOR_0 1 | ||||
| #define TEMP_SENSOR_1 0 | ||||
| #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. | ||||
| @@ -139,6 +140,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. | ||||
| @@ -147,6 +149,7 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define HEATER_0_MAXTEMP 260 | ||||
| #define HEATER_1_MAXTEMP 260 | ||||
| #define HEATER_2_MAXTEMP 260 | ||||
| #define HEATER_3_MAXTEMP 260 | ||||
| #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 | ||||
| @@ -351,8 +354,9 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of | ||||
| #define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false | ||||
| #define INVERT_Z_DIR true     // for Mendel set to false, for Orca set to true | ||||
| #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 | ||||
| @@ -587,6 +591,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 | ||||
| @@ -620,6 +630,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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user