Browse Source

Clean up spacing in configs

Scott Lahteine 9 years ago
parent
commit
9b23490f01
31 changed files with 545 additions and 674 deletions
  1. 0
    5
      Marlin/Configuration.h
  2. 0
    5
      Marlin/configurator/config/Configuration.h
  3. 1
    6
      Marlin/example_configurations/Felix/Configuration.h
  4. 2
    7
      Marlin/example_configurations/Felix/Configuration_DUAL.h
  5. 40
    43
      Marlin/example_configurations/Felix/Configuration_adv.h
  6. 2
    7
      Marlin/example_configurations/Hephestos/Configuration.h
  7. 40
    43
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  8. 1
    6
      Marlin/example_configurations/K8200/Configuration.h
  9. 40
    43
      Marlin/example_configurations/K8200/Configuration_adv.h
  10. 1
    6
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  11. 1
    6
      Marlin/example_configurations/RigidBot/Configuration.h
  12. 40
    43
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  13. 6
    11
      Marlin/example_configurations/SCARA/Configuration.h
  14. 40
    43
      Marlin/example_configurations/SCARA/Configuration_adv.h
  15. 1
    6
      Marlin/example_configurations/TAZ4/Configuration.h
  16. 40
    43
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  17. 1
    6
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 40
    43
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  19. 1
    6
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  20. 1
    6
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  21. 40
    43
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  22. 1
    6
      Marlin/example_configurations/delta/generic/Configuration.h
  23. 40
    43
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  24. 1
    6
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  25. 40
    43
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  26. 1
    6
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  27. 40
    43
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  28. 2
    7
      Marlin/example_configurations/makibox/Configuration.h
  29. 40
    43
      Marlin/example_configurations/makibox/Configuration_adv.h
  30. 2
    7
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  31. 40
    43
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

+ 0
- 5
Marlin/Configuration.h View File

853
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
853
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
854
 //#define FILAMENT_LCD_DISPLAY
854
 //#define FILAMENT_LCD_DISPLAY
855
 
855
 
856
-
857
-
858
-
859
-
860
-
861
 #include "Configuration_adv.h"
856
 #include "Configuration_adv.h"
862
 #include "thermistortables.h"
857
 #include "thermistortables.h"
863
 
858
 

+ 0
- 5
Marlin/configurator/config/Configuration.h View File

852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
853
 //#define FILAMENT_LCD_DISPLAY
853
 //#define FILAMENT_LCD_DISPLAY
854
 
854
 
855
-
856
-
857
-
858
-
859
-
860
 #include "Configuration_adv.h"
855
 #include "Configuration_adv.h"
861
 #include "thermistortables.h"
856
 #include "thermistortables.h"
862
 
857
 

+ 1
- 6
Marlin/example_configurations/Felix/Configuration.h View File

725
 
725
 
726
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
726
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
727
 //#define LCD_I2C_VIKI
727
 //#define LCD_I2C_VIKI
728
-  
728
+
729
 // SSD1306 OLED generic display support
729
 // SSD1306 OLED generic display support
730
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
730
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
731
 //#define U8GLIB_SSD1306
731
 //#define U8GLIB_SSD1306
835
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
835
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
836
 //#define FILAMENT_LCD_DISPLAY
836
 //#define FILAMENT_LCD_DISPLAY
837
 
837
 
838
-
839
-
840
-
841
-
842
-
843
 #include "Configuration_adv.h"
838
 #include "Configuration_adv.h"
844
 #include "thermistortables.h"
839
 #include "thermistortables.h"
845
 
840
 

+ 2
- 7
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

366
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
366
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
367
   #define FILAMENT_RUNOUT_SCRIPT "M600"
367
   #define FILAMENT_RUNOUT_SCRIPT "M600"
368
 #endif
368
 #endif
369
-  
369
+
370
 //===========================================================================
370
 //===========================================================================
371
 //=========================== Manual Bed Leveling ===========================
371
 //=========================== Manual Bed Leveling ===========================
372
 //===========================================================================
372
 //===========================================================================
459
 
459
 
460
 //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
460
 //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
461
                                                                             // Useful to retract a deployable Z probe.
461
                                                                             // Useful to retract a deployable Z probe.
462
-                                                                           
462
+
463
   //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
463
   //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
464
   //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
464
   //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
465
 
465
 
799
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
799
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
800
 //#define FILAMENT_LCD_DISPLAY
800
 //#define FILAMENT_LCD_DISPLAY
801
 
801
 
802
-
803
-
804
-
805
-
806
-
807
 #include "Configuration_adv.h"
802
 #include "Configuration_adv.h"
808
 #include "thermistortables.h"
803
 #include "thermistortables.h"
809
 
804
 

+ 40
- 43
Marlin/example_configurations/Felix/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

+ 2
- 7
Marlin/example_configurations/Hephestos/Configuration.h View File

79
 
79
 
80
 // Added for BQ
80
 // Added for BQ
81
 #define SOURCE_CODE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
81
 #define SOURCE_CODE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
82
- 
82
+
83
 // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
83
 // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
84
 // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
84
 // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
85
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
85
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
734
 
734
 
735
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
735
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
736
 //#define LCD_I2C_VIKI
736
 //#define LCD_I2C_VIKI
737
-  
737
+
738
 // SSD1306 OLED generic display support
738
 // SSD1306 OLED generic display support
739
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
739
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
740
 //#define U8GLIB_SSD1306
740
 //#define U8GLIB_SSD1306
844
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
844
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
845
 //#define FILAMENT_LCD_DISPLAY
845
 //#define FILAMENT_LCD_DISPLAY
846
 
846
 
847
-
848
-
849
-
850
-
851
-
852
 #include "Configuration_adv.h"
847
 #include "Configuration_adv.h"
853
 #include "thermistortables.h"
848
 #include "thermistortables.h"
854
 
849
 

+ 40
- 43
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/K8200/Configuration.h View File

730
 
730
 
731
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
731
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
732
 //#define LCD_I2C_VIKI
732
 //#define LCD_I2C_VIKI
733
-  
733
+
734
 // SSD1306 OLED generic display support
734
 // SSD1306 OLED generic display support
735
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
735
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
736
 //#define U8GLIB_SSD1306
736
 //#define U8GLIB_SSD1306
840
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
840
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
841
 //#define FILAMENT_LCD_DISPLAY
841
 //#define FILAMENT_LCD_DISPLAY
842
 
842
 
843
-
844
-
845
-
846
-
847
-
848
 #include "Configuration_adv.h"
843
 #include "Configuration_adv.h"
849
 #include "thermistortables.h"
844
 #include "thermistortables.h"
850
 
845
 

+ 40
- 43
Marlin/example_configurations/K8200/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

742
 
742
 
743
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
743
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
744
 //#define LCD_I2C_VIKI
744
 //#define LCD_I2C_VIKI
745
-  
745
+
746
 // SSD1306 OLED generic display support
746
 // SSD1306 OLED generic display support
747
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
747
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
748
 //#define U8GLIB_SSD1306
748
 //#define U8GLIB_SSD1306
852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
853
 //#define FILAMENT_LCD_DISPLAY
853
 //#define FILAMENT_LCD_DISPLAY
854
 
854
 
855
-
856
-
857
-
858
-
859
-
860
 #include "Configuration_adv.h"
855
 #include "Configuration_adv.h"
861
 #include "thermistortables.h"
856
 #include "thermistortables.h"
862
 
857
 

+ 1
- 6
Marlin/example_configurations/RigidBot/Configuration.h View File

732
 
732
 
733
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
733
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
734
 //#define LCD_I2C_VIKI
734
 //#define LCD_I2C_VIKI
735
-  
735
+
736
 // SSD1306 OLED generic display support
736
 // SSD1306 OLED generic display support
737
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
737
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
738
 //#define U8GLIB_SSD1306
738
 //#define U8GLIB_SSD1306
842
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
842
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
843
 //#define FILAMENT_LCD_DISPLAY
843
 //#define FILAMENT_LCD_DISPLAY
844
 
844
 
845
-
846
-
847
-
848
-
849
-
850
 #include "Configuration_adv.h"
845
 #include "Configuration_adv.h"
851
 #include "thermistortables.h"
846
 #include "thermistortables.h"
852
 
847
 

+ 40
- 43
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

137
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
137
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
138
 
138
 
139
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
139
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
140
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
140
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
141
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
141
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
142
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
142
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
143
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
143
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
336
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
336
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
337
   // we don't have a big font for Cyrillic, Kana
337
   // we don't have a big font for Cyrillic, Kana
338
   //#define USE_BIG_EDIT_FONT
338
   //#define USE_BIG_EDIT_FONT
339
- 
340
-  // If you have spare 2300Byte of progmem and want to use a 
339
+
340
+  // If you have spare 2300Byte of progmem and want to use a
341
   // smaller font on the Info-screen uncomment the next line.
341
   // smaller font on the Info-screen uncomment the next line.
342
   //#define USE_SMALL_INFOFONT
342
   //#define USE_SMALL_INFOFONT
343
 #endif // DOGLCD
343
 #endif // DOGLCD
461
 #endif
461
 #endif
462
 
462
 
463
 /******************************************************************************\
463
 /******************************************************************************\
464
- * enable this section if you have TMC26X motor drivers. 
464
+ * enable this section if you have TMC26X motor drivers.
465
  * you need to import the TMC26XStepper library into the arduino IDE for this
465
  * you need to import the TMC26XStepper library into the arduino IDE for this
466
  ******************************************************************************/
466
  ******************************************************************************/
467
 
467
 
474
   #define X_MAX_CURRENT 1000  //in mA
474
   #define X_MAX_CURRENT 1000  //in mA
475
   #define X_SENSE_RESISTOR 91 //in mOhms
475
   #define X_SENSE_RESISTOR 91 //in mOhms
476
   #define X_MICROSTEPS 16     //number of microsteps
476
   #define X_MICROSTEPS 16     //number of microsteps
477
-  
477
+
478
 //#define X2_IS_TMC
478
 //#define X2_IS_TMC
479
   #define X2_MAX_CURRENT 1000  //in mA
479
   #define X2_MAX_CURRENT 1000  //in mA
480
   #define X2_SENSE_RESISTOR 91 //in mOhms
480
   #define X2_SENSE_RESISTOR 91 //in mOhms
481
   #define X2_MICROSTEPS 16     //number of microsteps
481
   #define X2_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define Y_IS_TMC
483
 //#define Y_IS_TMC
484
   #define Y_MAX_CURRENT 1000  //in mA
484
   #define Y_MAX_CURRENT 1000  //in mA
485
   #define Y_SENSE_RESISTOR 91 //in mOhms
485
   #define Y_SENSE_RESISTOR 91 //in mOhms
486
   #define Y_MICROSTEPS 16     //number of microsteps
486
   #define Y_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y2_IS_TMC
488
 //#define Y2_IS_TMC
489
   #define Y2_MAX_CURRENT 1000  //in mA
489
   #define Y2_MAX_CURRENT 1000  //in mA
490
   #define Y2_SENSE_RESISTOR 91 //in mOhms
490
   #define Y2_SENSE_RESISTOR 91 //in mOhms
491
-  #define Y2_MICROSTEPS 16     //number of microsteps 
492
-  
491
+  #define Y2_MICROSTEPS 16     //number of microsteps
492
+
493
 //#define Z_IS_TMC
493
 //#define Z_IS_TMC
494
   #define Z_MAX_CURRENT 1000  //in mA
494
   #define Z_MAX_CURRENT 1000  //in mA
495
   #define Z_SENSE_RESISTOR 91 //in mOhms
495
   #define Z_SENSE_RESISTOR 91 //in mOhms
496
   #define Z_MICROSTEPS 16     //number of microsteps
496
   #define Z_MICROSTEPS 16     //number of microsteps
497
-  
497
+
498
 //#define Z2_IS_TMC
498
 //#define Z2_IS_TMC
499
   #define Z2_MAX_CURRENT 1000  //in mA
499
   #define Z2_MAX_CURRENT 1000  //in mA
500
   #define Z2_SENSE_RESISTOR 91 //in mOhms
500
   #define Z2_SENSE_RESISTOR 91 //in mOhms
501
   #define Z2_MICROSTEPS 16     //number of microsteps
501
   #define Z2_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define E0_IS_TMC
503
 //#define E0_IS_TMC
504
   #define E0_MAX_CURRENT 1000  //in mA
504
   #define E0_MAX_CURRENT 1000  //in mA
505
   #define E0_SENSE_RESISTOR 91 //in mOhms
505
   #define E0_SENSE_RESISTOR 91 //in mOhms
506
   #define E0_MICROSTEPS 16     //number of microsteps
506
   #define E0_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E1_IS_TMC
508
 //#define E1_IS_TMC
509
   #define E1_MAX_CURRENT 1000  //in mA
509
   #define E1_MAX_CURRENT 1000  //in mA
510
   #define E1_SENSE_RESISTOR 91 //in mOhms
510
   #define E1_SENSE_RESISTOR 91 //in mOhms
511
-  #define E1_MICROSTEPS 16     //number of microsteps 
512
-  
511
+  #define E1_MICROSTEPS 16     //number of microsteps
512
+
513
 //#define E2_IS_TMC
513
 //#define E2_IS_TMC
514
   #define E2_MAX_CURRENT 1000  //in mA
514
   #define E2_MAX_CURRENT 1000  //in mA
515
   #define E2_SENSE_RESISTOR 91 //in mOhms
515
   #define E2_SENSE_RESISTOR 91 //in mOhms
516
-  #define E2_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E2_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E3_IS_TMC
518
 //#define E3_IS_TMC
519
   #define E3_MAX_CURRENT 1000  //in mA
519
   #define E3_MAX_CURRENT 1000  //in mA
520
   #define E3_SENSE_RESISTOR 91 //in mOhms
520
   #define E3_SENSE_RESISTOR 91 //in mOhms
521
-  #define E3_MICROSTEPS 16     //number of microsteps   
521
+  #define E3_MICROSTEPS 16     //number of microsteps
522
 
522
 
523
 #endif
523
 #endif
524
 
524
 
525
 /******************************************************************************\
525
 /******************************************************************************\
526
- * enable this section if you have L6470  motor drivers. 
526
+ * enable this section if you have L6470  motor drivers.
527
  * you need to import the L6470 library into the arduino IDE for this
527
  * you need to import the L6470 library into the arduino IDE for this
528
  ******************************************************************************/
528
  ******************************************************************************/
529
 
529
 
534
 
534
 
535
 //#define X_IS_L6470
535
 //#define X_IS_L6470
536
   #define X_MICROSTEPS 16     //number of microsteps
536
   #define X_MICROSTEPS 16     //number of microsteps
537
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
537
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
538
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
538
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
539
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
539
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
540
-  
540
+
541
 //#define X2_IS_L6470
541
 //#define X2_IS_L6470
542
   #define X2_MICROSTEPS 16     //number of microsteps
542
   #define X2_MICROSTEPS 16     //number of microsteps
543
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
543
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
544
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
545
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
546
-  
546
+
547
 //#define Y_IS_L6470
547
 //#define Y_IS_L6470
548
   #define Y_MICROSTEPS 16     //number of microsteps
548
   #define Y_MICROSTEPS 16     //number of microsteps
549
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
549
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
550
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
551
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
552
-  
552
+
553
 //#define Y2_IS_L6470
553
 //#define Y2_IS_L6470
554
-  #define Y2_MICROSTEPS 16     //number of microsteps 
555
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y2_MICROSTEPS 16     //number of microsteps
555
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
556
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
557
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
558
-  
557
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
558
+
559
 //#define Z_IS_L6470
559
 //#define Z_IS_L6470
560
   #define Z_MICROSTEPS 16     //number of microsteps
560
   #define Z_MICROSTEPS 16     //number of microsteps
561
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
561
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
562
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
563
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
564
-  
564
+
565
 //#define Z2_IS_L6470
565
 //#define Z2_IS_L6470
566
   #define Z2_MICROSTEPS 16     //number of microsteps
566
   #define Z2_MICROSTEPS 16     //number of microsteps
567
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
567
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
568
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
569
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
570
-  
570
+
571
 //#define E0_IS_L6470
571
 //#define E0_IS_L6470
572
   #define E0_MICROSTEPS 16     //number of microsteps
572
   #define E0_MICROSTEPS 16     //number of microsteps
573
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
573
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
574
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
575
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
576
-  
576
+
577
 //#define E1_IS_L6470
577
 //#define E1_IS_L6470
578
-  #define E1_MICROSTEPS 16     //number of microsteps 
579
   #define E1_MICROSTEPS 16     //number of microsteps
578
   #define E1_MICROSTEPS 16     //number of microsteps
580
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
579
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
581
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
582
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
583
-  
582
+
584
 //#define E2_IS_L6470
583
 //#define E2_IS_L6470
585
-  #define E2_MICROSTEPS 16     //number of microsteps 
586
   #define E2_MICROSTEPS 16     //number of microsteps
584
   #define E2_MICROSTEPS 16     //number of microsteps
587
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
585
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
588
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
586
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
589
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
587
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
590
-  
588
+
591
 //#define E3_IS_L6470
589
 //#define E3_IS_L6470
592
-  #define E3_MICROSTEPS 16     //number of microsteps   
593
   #define E3_MICROSTEPS 16     //number of microsteps
590
   #define E3_MICROSTEPS 16     //number of microsteps
594
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
591
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
595
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
592
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
596
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
593
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
597
-  
594
+
598
 #endif
595
 #endif
599
 
596
 
600
 #include "Conditionals.h"
597
 #include "Conditionals.h"

+ 6
- 11
Marlin/example_configurations/SCARA/Configuration.h View File

37
 // QHARLEYS Autobedlevelling has not been ported, because Marlin has now Bed-levelling
37
 // QHARLEYS Autobedlevelling has not been ported, because Marlin has now Bed-levelling
38
 // You might need Z-Min endstop on SCARA-Printer to use this feature. Actually untested!
38
 // You might need Z-Min endstop on SCARA-Printer to use this feature. Actually untested!
39
 // Uncomment to use Morgan scara mode
39
 // Uncomment to use Morgan scara mode
40
-#define SCARA  
40
+#define SCARA
41
 #define SCARA_SEGMENTS_PER_SECOND 200 // If movement is choppy try lowering this value
41
 #define SCARA_SEGMENTS_PER_SECOND 200 // If movement is choppy try lowering this value
42
 // Length of inner support arm
42
 // Length of inner support arm
43
 #define Linkage_1 150 //mm      Preprocessor cannot handle decimal point...
43
 #define Linkage_1 150 //mm      Preprocessor cannot handle decimal point...
44
-// Length of outer support arm     Measure arm lengths precisely and enter 
45
-#define Linkage_2 150 //mm    
44
+// Length of outer support arm     Measure arm lengths precisely and enter
45
+#define Linkage_2 150 //mm
46
 
46
 
47
-// SCARA tower offset (position of Tower relative to bed zero position) 
47
+// SCARA tower offset (position of Tower relative to bed zero position)
48
 // This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
48
 // This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
49
-#define SCARA_offset_x 100 //mm   
49
+#define SCARA_offset_x 100 //mm
50
 #define SCARA_offset_y -56 //mm
50
 #define SCARA_offset_y -56 //mm
51
 #define SCARA_RAD2DEG 57.2957795  // to convert RAD to degrees
51
 #define SCARA_RAD2DEG 57.2957795  // to convert RAD to degrees
52
 
52
 
750
 
750
 
751
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
751
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
752
 //#define LCD_I2C_VIKI
752
 //#define LCD_I2C_VIKI
753
-  
753
+
754
 // SSD1306 OLED generic display support
754
 // SSD1306 OLED generic display support
755
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
755
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
756
 //#define U8GLIB_SSD1306
756
 //#define U8GLIB_SSD1306
860
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
860
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
861
 //#define FILAMENT_LCD_DISPLAY
861
 //#define FILAMENT_LCD_DISPLAY
862
 
862
 
863
-
864
-
865
-
866
-
867
-
868
 #include "Configuration_adv.h"
863
 #include "Configuration_adv.h"
869
 #include "thermistortables.h"
864
 #include "thermistortables.h"
870
 
865
 

+ 40
- 43
Marlin/example_configurations/SCARA/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/TAZ4/Configuration.h View File

761
 
761
 
762
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
762
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
763
 //#define LCD_I2C_VIKI
763
 //#define LCD_I2C_VIKI
764
-  
764
+
765
 // SSD1306 OLED generic display support
765
 // SSD1306 OLED generic display support
766
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
766
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
767
 //#define U8GLIB_SSD1306
767
 //#define U8GLIB_SSD1306
871
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
871
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
872
 //#define FILAMENT_LCD_DISPLAY
872
 //#define FILAMENT_LCD_DISPLAY
873
 
873
 
874
-
875
-
876
-
877
-
878
-
879
 #include "Configuration_adv.h"
874
 #include "Configuration_adv.h"
880
 #include "thermistortables.h"
875
 #include "thermistortables.h"
881
 
876
 

+ 40
- 43
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
469
 #endif
469
 #endif
470
 
470
 
471
 /******************************************************************************\
471
 /******************************************************************************\
472
- * enable this section if you have TMC26X motor drivers. 
472
+ * enable this section if you have TMC26X motor drivers.
473
  * you need to import the TMC26XStepper library into the arduino IDE for this
473
  * you need to import the TMC26XStepper library into the arduino IDE for this
474
  ******************************************************************************/
474
  ******************************************************************************/
475
 
475
 
482
   #define X_MAX_CURRENT 1000  //in mA
482
   #define X_MAX_CURRENT 1000  //in mA
483
   #define X_SENSE_RESISTOR 91 //in mOhms
483
   #define X_SENSE_RESISTOR 91 //in mOhms
484
   #define X_MICROSTEPS 16     //number of microsteps
484
   #define X_MICROSTEPS 16     //number of microsteps
485
-  
485
+
486
 //#define X2_IS_TMC
486
 //#define X2_IS_TMC
487
   #define X2_MAX_CURRENT 1000  //in mA
487
   #define X2_MAX_CURRENT 1000  //in mA
488
   #define X2_SENSE_RESISTOR 91 //in mOhms
488
   #define X2_SENSE_RESISTOR 91 //in mOhms
489
   #define X2_MICROSTEPS 16     //number of microsteps
489
   #define X2_MICROSTEPS 16     //number of microsteps
490
-  
490
+
491
 //#define Y_IS_TMC
491
 //#define Y_IS_TMC
492
   #define Y_MAX_CURRENT 1000  //in mA
492
   #define Y_MAX_CURRENT 1000  //in mA
493
   #define Y_SENSE_RESISTOR 91 //in mOhms
493
   #define Y_SENSE_RESISTOR 91 //in mOhms
494
   #define Y_MICROSTEPS 16     //number of microsteps
494
   #define Y_MICROSTEPS 16     //number of microsteps
495
-  
495
+
496
 //#define Y2_IS_TMC
496
 //#define Y2_IS_TMC
497
   #define Y2_MAX_CURRENT 1000  //in mA
497
   #define Y2_MAX_CURRENT 1000  //in mA
498
   #define Y2_SENSE_RESISTOR 91 //in mOhms
498
   #define Y2_SENSE_RESISTOR 91 //in mOhms
499
-  #define Y2_MICROSTEPS 16     //number of microsteps 
500
-  
499
+  #define Y2_MICROSTEPS 16     //number of microsteps
500
+
501
 //#define Z_IS_TMC
501
 //#define Z_IS_TMC
502
   #define Z_MAX_CURRENT 1000  //in mA
502
   #define Z_MAX_CURRENT 1000  //in mA
503
   #define Z_SENSE_RESISTOR 91 //in mOhms
503
   #define Z_SENSE_RESISTOR 91 //in mOhms
504
   #define Z_MICROSTEPS 16     //number of microsteps
504
   #define Z_MICROSTEPS 16     //number of microsteps
505
-  
505
+
506
 //#define Z2_IS_TMC
506
 //#define Z2_IS_TMC
507
   #define Z2_MAX_CURRENT 1000  //in mA
507
   #define Z2_MAX_CURRENT 1000  //in mA
508
   #define Z2_SENSE_RESISTOR 91 //in mOhms
508
   #define Z2_SENSE_RESISTOR 91 //in mOhms
509
   #define Z2_MICROSTEPS 16     //number of microsteps
509
   #define Z2_MICROSTEPS 16     //number of microsteps
510
-  
510
+
511
 //#define E0_IS_TMC
511
 //#define E0_IS_TMC
512
   #define E0_MAX_CURRENT 1000  //in mA
512
   #define E0_MAX_CURRENT 1000  //in mA
513
   #define E0_SENSE_RESISTOR 91 //in mOhms
513
   #define E0_SENSE_RESISTOR 91 //in mOhms
514
   #define E0_MICROSTEPS 16     //number of microsteps
514
   #define E0_MICROSTEPS 16     //number of microsteps
515
-  
515
+
516
 //#define E1_IS_TMC
516
 //#define E1_IS_TMC
517
   #define E1_MAX_CURRENT 1000  //in mA
517
   #define E1_MAX_CURRENT 1000  //in mA
518
   #define E1_SENSE_RESISTOR 91 //in mOhms
518
   #define E1_SENSE_RESISTOR 91 //in mOhms
519
-  #define E1_MICROSTEPS 16     //number of microsteps 
520
-  
519
+  #define E1_MICROSTEPS 16     //number of microsteps
520
+
521
 //#define E2_IS_TMC
521
 //#define E2_IS_TMC
522
   #define E2_MAX_CURRENT 1000  //in mA
522
   #define E2_MAX_CURRENT 1000  //in mA
523
   #define E2_SENSE_RESISTOR 91 //in mOhms
523
   #define E2_SENSE_RESISTOR 91 //in mOhms
524
-  #define E2_MICROSTEPS 16     //number of microsteps 
525
-  
524
+  #define E2_MICROSTEPS 16     //number of microsteps
525
+
526
 //#define E3_IS_TMC
526
 //#define E3_IS_TMC
527
   #define E3_MAX_CURRENT 1000  //in mA
527
   #define E3_MAX_CURRENT 1000  //in mA
528
   #define E3_SENSE_RESISTOR 91 //in mOhms
528
   #define E3_SENSE_RESISTOR 91 //in mOhms
529
-  #define E3_MICROSTEPS 16     //number of microsteps   
529
+  #define E3_MICROSTEPS 16     //number of microsteps
530
 
530
 
531
 #endif
531
 #endif
532
 
532
 
533
 /******************************************************************************\
533
 /******************************************************************************\
534
- * enable this section if you have L6470  motor drivers. 
534
+ * enable this section if you have L6470  motor drivers.
535
  * you need to import the L6470 library into the arduino IDE for this
535
  * you need to import the L6470 library into the arduino IDE for this
536
  ******************************************************************************/
536
  ******************************************************************************/
537
 
537
 
542
 
542
 
543
 //#define X_IS_L6470
543
 //#define X_IS_L6470
544
   #define X_MICROSTEPS 16     //number of microsteps
544
   #define X_MICROSTEPS 16     //number of microsteps
545
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
545
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
546
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
546
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
547
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
547
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
548
-  
548
+
549
 //#define X2_IS_L6470
549
 //#define X2_IS_L6470
550
   #define X2_MICROSTEPS 16     //number of microsteps
550
   #define X2_MICROSTEPS 16     //number of microsteps
551
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
551
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
552
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
552
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
553
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
553
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
554
-  
554
+
555
 //#define Y_IS_L6470
555
 //#define Y_IS_L6470
556
   #define Y_MICROSTEPS 16     //number of microsteps
556
   #define Y_MICROSTEPS 16     //number of microsteps
557
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
557
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
558
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
558
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
559
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
559
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
560
-  
560
+
561
 //#define Y2_IS_L6470
561
 //#define Y2_IS_L6470
562
-  #define Y2_MICROSTEPS 16     //number of microsteps 
563
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
562
+  #define Y2_MICROSTEPS 16     //number of microsteps
563
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
564
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
564
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
565
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
566
-  
565
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
566
+
567
 //#define Z_IS_L6470
567
 //#define Z_IS_L6470
568
   #define Z_MICROSTEPS 16     //number of microsteps
568
   #define Z_MICROSTEPS 16     //number of microsteps
569
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
569
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
570
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
570
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
571
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
571
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
572
-  
572
+
573
 //#define Z2_IS_L6470
573
 //#define Z2_IS_L6470
574
   #define Z2_MICROSTEPS 16     //number of microsteps
574
   #define Z2_MICROSTEPS 16     //number of microsteps
575
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
575
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
576
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
576
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
577
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
577
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
578
-  
578
+
579
 //#define E0_IS_L6470
579
 //#define E0_IS_L6470
580
   #define E0_MICROSTEPS 16     //number of microsteps
580
   #define E0_MICROSTEPS 16     //number of microsteps
581
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
581
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
582
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
582
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
583
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
583
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
584
-  
584
+
585
 //#define E1_IS_L6470
585
 //#define E1_IS_L6470
586
-  #define E1_MICROSTEPS 16     //number of microsteps 
587
   #define E1_MICROSTEPS 16     //number of microsteps
586
   #define E1_MICROSTEPS 16     //number of microsteps
588
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
587
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
589
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
588
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
590
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
589
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
591
-  
590
+
592
 //#define E2_IS_L6470
591
 //#define E2_IS_L6470
593
-  #define E2_MICROSTEPS 16     //number of microsteps 
594
   #define E2_MICROSTEPS 16     //number of microsteps
592
   #define E2_MICROSTEPS 16     //number of microsteps
595
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
593
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
596
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
-  
596
+
599
 //#define E3_IS_L6470
597
 //#define E3_IS_L6470
600
-  #define E3_MICROSTEPS 16     //number of microsteps   
601
   #define E3_MICROSTEPS 16     //number of microsteps
598
   #define E3_MICROSTEPS 16     //number of microsteps
602
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
599
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
603
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
604
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
605
-  
602
+
606
 #endif
603
 #endif
607
 
604
 
608
 #include "Conditionals.h"
605
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/WITBOX/Configuration.h View File

733
 
733
 
734
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
734
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
735
 //#define LCD_I2C_VIKI
735
 //#define LCD_I2C_VIKI
736
-  
736
+
737
 // SSD1306 OLED generic display support
737
 // SSD1306 OLED generic display support
738
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
738
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
739
 //#define U8GLIB_SSD1306
739
 //#define U8GLIB_SSD1306
843
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
843
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
844
 //#define FILAMENT_LCD_DISPLAY
844
 //#define FILAMENT_LCD_DISPLAY
845
 
845
 
846
-
847
-
848
-
849
-
850
-
851
 #include "Configuration_adv.h"
846
 #include "Configuration_adv.h"
852
 #include "thermistortables.h"
847
 #include "thermistortables.h"
853
 
848
 

+ 40
- 43
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

742
 
742
 
743
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
743
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
744
 //#define LCD_I2C_VIKI
744
 //#define LCD_I2C_VIKI
745
-  
745
+
746
 // SSD1306 OLED generic display support
746
 // SSD1306 OLED generic display support
747
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
747
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
748
 //#define U8GLIB_SSD1306
748
 //#define U8GLIB_SSD1306
852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
852
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
853
 //#define FILAMENT_LCD_DISPLAY
853
 //#define FILAMENT_LCD_DISPLAY
854
 
854
 
855
-
856
-
857
-
858
-
859
-
860
 #include "Configuration_adv.h"
855
 #include "Configuration_adv.h"
861
 #include "thermistortables.h"
856
 #include "thermistortables.h"
862
 
857
 

+ 1
- 6
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

867
 
867
 
868
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
868
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
869
 //#define LCD_I2C_VIKI
869
 //#define LCD_I2C_VIKI
870
-  
870
+
871
 // SSD1306 OLED generic display support
871
 // SSD1306 OLED generic display support
872
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
872
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
873
 //#define U8GLIB_SSD1306
873
 //#define U8GLIB_SSD1306
977
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
977
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
978
 //#define FILAMENT_LCD_DISPLAY
978
 //#define FILAMENT_LCD_DISPLAY
979
 
979
 
980
-
981
-
982
-
983
-
984
-
985
 #include "Configuration_adv.h"
980
 #include "Configuration_adv.h"
986
 #include "thermistortables.h"
981
 #include "thermistortables.h"
987
 
982
 

+ 40
- 43
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
345
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
345
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
346
   // we don't have a big font for Cyrillic, Kana
346
   // we don't have a big font for Cyrillic, Kana
347
   //#define USE_BIG_EDIT_FONT
347
   //#define USE_BIG_EDIT_FONT
348
- 
349
-  // If you have spare 2300Byte of progmem and want to use a 
348
+
349
+  // If you have spare 2300Byte of progmem and want to use a
350
   // smaller font on the Info-screen uncomment the next line.
350
   // smaller font on the Info-screen uncomment the next line.
351
   //#define USE_SMALL_INFOFONT
351
   //#define USE_SMALL_INFOFONT
352
 #endif // DOGLCD
352
 #endif // DOGLCD
467
 #endif
467
 #endif
468
 
468
 
469
 /******************************************************************************\
469
 /******************************************************************************\
470
- * enable this section if you have TMC26X motor drivers. 
470
+ * enable this section if you have TMC26X motor drivers.
471
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  * you need to import the TMC26XStepper library into the arduino IDE for this
472
  ******************************************************************************/
472
  ******************************************************************************/
473
 
473
 
480
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_MAX_CURRENT 1000  //in mA
481
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_SENSE_RESISTOR 91 //in mOhms
482
   #define X_MICROSTEPS 16     //number of microsteps
482
   #define X_MICROSTEPS 16     //number of microsteps
483
-  
483
+
484
 //#define X2_IS_TMC
484
 //#define X2_IS_TMC
485
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_MAX_CURRENT 1000  //in mA
486
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_SENSE_RESISTOR 91 //in mOhms
487
   #define X2_MICROSTEPS 16     //number of microsteps
487
   #define X2_MICROSTEPS 16     //number of microsteps
488
-  
488
+
489
 //#define Y_IS_TMC
489
 //#define Y_IS_TMC
490
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_MAX_CURRENT 1000  //in mA
491
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_SENSE_RESISTOR 91 //in mOhms
492
   #define Y_MICROSTEPS 16     //number of microsteps
492
   #define Y_MICROSTEPS 16     //number of microsteps
493
-  
493
+
494
 //#define Y2_IS_TMC
494
 //#define Y2_IS_TMC
495
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_MAX_CURRENT 1000  //in mA
496
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
   #define Y2_SENSE_RESISTOR 91 //in mOhms
497
-  #define Y2_MICROSTEPS 16     //number of microsteps 
498
-  
497
+  #define Y2_MICROSTEPS 16     //number of microsteps
498
+
499
 //#define Z_IS_TMC
499
 //#define Z_IS_TMC
500
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_MAX_CURRENT 1000  //in mA
501
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_SENSE_RESISTOR 91 //in mOhms
502
   #define Z_MICROSTEPS 16     //number of microsteps
502
   #define Z_MICROSTEPS 16     //number of microsteps
503
-  
503
+
504
 //#define Z2_IS_TMC
504
 //#define Z2_IS_TMC
505
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_MAX_CURRENT 1000  //in mA
506
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_SENSE_RESISTOR 91 //in mOhms
507
   #define Z2_MICROSTEPS 16     //number of microsteps
507
   #define Z2_MICROSTEPS 16     //number of microsteps
508
-  
508
+
509
 //#define E0_IS_TMC
509
 //#define E0_IS_TMC
510
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_MAX_CURRENT 1000  //in mA
511
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_SENSE_RESISTOR 91 //in mOhms
512
   #define E0_MICROSTEPS 16     //number of microsteps
512
   #define E0_MICROSTEPS 16     //number of microsteps
513
-  
513
+
514
 //#define E1_IS_TMC
514
 //#define E1_IS_TMC
515
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_MAX_CURRENT 1000  //in mA
516
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
   #define E1_SENSE_RESISTOR 91 //in mOhms
517
-  #define E1_MICROSTEPS 16     //number of microsteps 
518
-  
517
+  #define E1_MICROSTEPS 16     //number of microsteps
518
+
519
 //#define E2_IS_TMC
519
 //#define E2_IS_TMC
520
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_MAX_CURRENT 1000  //in mA
521
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
   #define E2_SENSE_RESISTOR 91 //in mOhms
522
-  #define E2_MICROSTEPS 16     //number of microsteps 
523
-  
522
+  #define E2_MICROSTEPS 16     //number of microsteps
523
+
524
 //#define E3_IS_TMC
524
 //#define E3_IS_TMC
525
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_MAX_CURRENT 1000  //in mA
526
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
   #define E3_SENSE_RESISTOR 91 //in mOhms
527
-  #define E3_MICROSTEPS 16     //number of microsteps   
527
+  #define E3_MICROSTEPS 16     //number of microsteps
528
 
528
 
529
 #endif
529
 #endif
530
 
530
 
531
 /******************************************************************************\
531
 /******************************************************************************\
532
- * enable this section if you have L6470  motor drivers. 
532
+ * enable this section if you have L6470  motor drivers.
533
  * you need to import the L6470 library into the arduino IDE for this
533
  * you need to import the L6470 library into the arduino IDE for this
534
  ******************************************************************************/
534
  ******************************************************************************/
535
 
535
 
540
 
540
 
541
 //#define X_IS_L6470
541
 //#define X_IS_L6470
542
   #define X_MICROSTEPS 16     //number of microsteps
542
   #define X_MICROSTEPS 16     //number of microsteps
543
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
543
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
544
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
545
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
546
-  
546
+
547
 //#define X2_IS_L6470
547
 //#define X2_IS_L6470
548
   #define X2_MICROSTEPS 16     //number of microsteps
548
   #define X2_MICROSTEPS 16     //number of microsteps
549
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
549
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
550
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
551
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
552
-  
552
+
553
 //#define Y_IS_L6470
553
 //#define Y_IS_L6470
554
   #define Y_MICROSTEPS 16     //number of microsteps
554
   #define Y_MICROSTEPS 16     //number of microsteps
555
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
555
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
556
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
557
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
558
-  
558
+
559
 //#define Y2_IS_L6470
559
 //#define Y2_IS_L6470
560
-  #define Y2_MICROSTEPS 16     //number of microsteps 
561
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
560
+  #define Y2_MICROSTEPS 16     //number of microsteps
561
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
562
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
563
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
564
-  
563
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
564
+
565
 //#define Z_IS_L6470
565
 //#define Z_IS_L6470
566
   #define Z_MICROSTEPS 16     //number of microsteps
566
   #define Z_MICROSTEPS 16     //number of microsteps
567
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
567
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
568
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
569
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
570
-  
570
+
571
 //#define Z2_IS_L6470
571
 //#define Z2_IS_L6470
572
   #define Z2_MICROSTEPS 16     //number of microsteps
572
   #define Z2_MICROSTEPS 16     //number of microsteps
573
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
573
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
574
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
575
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
576
-  
576
+
577
 //#define E0_IS_L6470
577
 //#define E0_IS_L6470
578
   #define E0_MICROSTEPS 16     //number of microsteps
578
   #define E0_MICROSTEPS 16     //number of microsteps
579
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
579
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
580
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
581
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
582
-  
582
+
583
 //#define E1_IS_L6470
583
 //#define E1_IS_L6470
584
-  #define E1_MICROSTEPS 16     //number of microsteps 
585
   #define E1_MICROSTEPS 16     //number of microsteps
584
   #define E1_MICROSTEPS 16     //number of microsteps
586
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
585
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
587
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
588
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
589
-  
588
+
590
 //#define E2_IS_L6470
589
 //#define E2_IS_L6470
591
-  #define E2_MICROSTEPS 16     //number of microsteps 
592
   #define E2_MICROSTEPS 16     //number of microsteps
590
   #define E2_MICROSTEPS 16     //number of microsteps
593
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
591
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
594
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
592
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
595
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
593
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
596
-  
594
+
597
 //#define E3_IS_L6470
595
 //#define E3_IS_L6470
598
-  #define E3_MICROSTEPS 16     //number of microsteps   
599
   #define E3_MICROSTEPS 16     //number of microsteps
596
   #define E3_MICROSTEPS 16     //number of microsteps
600
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
597
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
601
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
598
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
602
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
599
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
603
-  
600
+
604
 #endif
601
 #endif
605
 
602
 
606
 #include "Conditionals.h"
603
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/delta/generic/Configuration.h View File

872
 
872
 
873
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
873
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
874
 //#define LCD_I2C_VIKI
874
 //#define LCD_I2C_VIKI
875
-  
875
+
876
 // SSD1306 OLED generic display support
876
 // SSD1306 OLED generic display support
877
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
877
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
878
 //#define U8GLIB_SSD1306
878
 //#define U8GLIB_SSD1306
982
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
982
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
983
 //#define FILAMENT_LCD_DISPLAY
983
 //#define FILAMENT_LCD_DISPLAY
984
 
984
 
985
-
986
-
987
-
988
-
989
-
990
 #include "Configuration_adv.h"
985
 #include "Configuration_adv.h"
991
 #include "thermistortables.h"
986
 #include "thermistortables.h"
992
 
987
 

+ 40
- 43
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
345
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
345
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
346
   // we don't have a big font for Cyrillic, Kana
346
   // we don't have a big font for Cyrillic, Kana
347
   //#define USE_BIG_EDIT_FONT
347
   //#define USE_BIG_EDIT_FONT
348
- 
349
-  // If you have spare 2300Byte of progmem and want to use a 
348
+
349
+  // If you have spare 2300Byte of progmem and want to use a
350
   // smaller font on the Info-screen uncomment the next line.
350
   // smaller font on the Info-screen uncomment the next line.
351
   //#define USE_SMALL_INFOFONT
351
   //#define USE_SMALL_INFOFONT
352
 #endif // DOGLCD
352
 #endif // DOGLCD
468
 #endif
468
 #endif
469
 
469
 
470
 /******************************************************************************\
470
 /******************************************************************************\
471
- * enable this section if you have TMC26X motor drivers. 
471
+ * enable this section if you have TMC26X motor drivers.
472
  * you need to import the TMC26XStepper library into the arduino IDE for this
472
  * you need to import the TMC26XStepper library into the arduino IDE for this
473
  ******************************************************************************/
473
  ******************************************************************************/
474
 
474
 
481
   #define X_MAX_CURRENT 1000  //in mA
481
   #define X_MAX_CURRENT 1000  //in mA
482
   #define X_SENSE_RESISTOR 91 //in mOhms
482
   #define X_SENSE_RESISTOR 91 //in mOhms
483
   #define X_MICROSTEPS 16     //number of microsteps
483
   #define X_MICROSTEPS 16     //number of microsteps
484
-  
484
+
485
 //#define X2_IS_TMC
485
 //#define X2_IS_TMC
486
   #define X2_MAX_CURRENT 1000  //in mA
486
   #define X2_MAX_CURRENT 1000  //in mA
487
   #define X2_SENSE_RESISTOR 91 //in mOhms
487
   #define X2_SENSE_RESISTOR 91 //in mOhms
488
   #define X2_MICROSTEPS 16     //number of microsteps
488
   #define X2_MICROSTEPS 16     //number of microsteps
489
-  
489
+
490
 //#define Y_IS_TMC
490
 //#define Y_IS_TMC
491
   #define Y_MAX_CURRENT 1000  //in mA
491
   #define Y_MAX_CURRENT 1000  //in mA
492
   #define Y_SENSE_RESISTOR 91 //in mOhms
492
   #define Y_SENSE_RESISTOR 91 //in mOhms
493
   #define Y_MICROSTEPS 16     //number of microsteps
493
   #define Y_MICROSTEPS 16     //number of microsteps
494
-  
494
+
495
 //#define Y2_IS_TMC
495
 //#define Y2_IS_TMC
496
   #define Y2_MAX_CURRENT 1000  //in mA
496
   #define Y2_MAX_CURRENT 1000  //in mA
497
   #define Y2_SENSE_RESISTOR 91 //in mOhms
497
   #define Y2_SENSE_RESISTOR 91 //in mOhms
498
-  #define Y2_MICROSTEPS 16     //number of microsteps 
499
-  
498
+  #define Y2_MICROSTEPS 16     //number of microsteps
499
+
500
 //#define Z_IS_TMC
500
 //#define Z_IS_TMC
501
   #define Z_MAX_CURRENT 1000  //in mA
501
   #define Z_MAX_CURRENT 1000  //in mA
502
   #define Z_SENSE_RESISTOR 91 //in mOhms
502
   #define Z_SENSE_RESISTOR 91 //in mOhms
503
   #define Z_MICROSTEPS 16     //number of microsteps
503
   #define Z_MICROSTEPS 16     //number of microsteps
504
-  
504
+
505
 //#define Z2_IS_TMC
505
 //#define Z2_IS_TMC
506
   #define Z2_MAX_CURRENT 1000  //in mA
506
   #define Z2_MAX_CURRENT 1000  //in mA
507
   #define Z2_SENSE_RESISTOR 91 //in mOhms
507
   #define Z2_SENSE_RESISTOR 91 //in mOhms
508
   #define Z2_MICROSTEPS 16     //number of microsteps
508
   #define Z2_MICROSTEPS 16     //number of microsteps
509
-  
509
+
510
 //#define E0_IS_TMC
510
 //#define E0_IS_TMC
511
   #define E0_MAX_CURRENT 1000  //in mA
511
   #define E0_MAX_CURRENT 1000  //in mA
512
   #define E0_SENSE_RESISTOR 91 //in mOhms
512
   #define E0_SENSE_RESISTOR 91 //in mOhms
513
   #define E0_MICROSTEPS 16     //number of microsteps
513
   #define E0_MICROSTEPS 16     //number of microsteps
514
-  
514
+
515
 //#define E1_IS_TMC
515
 //#define E1_IS_TMC
516
   #define E1_MAX_CURRENT 1000  //in mA
516
   #define E1_MAX_CURRENT 1000  //in mA
517
   #define E1_SENSE_RESISTOR 91 //in mOhms
517
   #define E1_SENSE_RESISTOR 91 //in mOhms
518
-  #define E1_MICROSTEPS 16     //number of microsteps 
519
-  
518
+  #define E1_MICROSTEPS 16     //number of microsteps
519
+
520
 //#define E2_IS_TMC
520
 //#define E2_IS_TMC
521
   #define E2_MAX_CURRENT 1000  //in mA
521
   #define E2_MAX_CURRENT 1000  //in mA
522
   #define E2_SENSE_RESISTOR 91 //in mOhms
522
   #define E2_SENSE_RESISTOR 91 //in mOhms
523
-  #define E2_MICROSTEPS 16     //number of microsteps 
524
-  
523
+  #define E2_MICROSTEPS 16     //number of microsteps
524
+
525
 //#define E3_IS_TMC
525
 //#define E3_IS_TMC
526
   #define E3_MAX_CURRENT 1000  //in mA
526
   #define E3_MAX_CURRENT 1000  //in mA
527
   #define E3_SENSE_RESISTOR 91 //in mOhms
527
   #define E3_SENSE_RESISTOR 91 //in mOhms
528
-  #define E3_MICROSTEPS 16     //number of microsteps   
528
+  #define E3_MICROSTEPS 16     //number of microsteps
529
 
529
 
530
 #endif
530
 #endif
531
 
531
 
532
 /******************************************************************************\
532
 /******************************************************************************\
533
- * enable this section if you have L6470  motor drivers. 
533
+ * enable this section if you have L6470  motor drivers.
534
  * you need to import the L6470 library into the arduino IDE for this
534
  * you need to import the L6470 library into the arduino IDE for this
535
  ******************************************************************************/
535
  ******************************************************************************/
536
 
536
 
541
 
541
 
542
 //#define X_IS_L6470
542
 //#define X_IS_L6470
543
   #define X_MICROSTEPS 16     //number of microsteps
543
   #define X_MICROSTEPS 16     //number of microsteps
544
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
544
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
545
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
545
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
546
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
546
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
547
-  
547
+
548
 //#define X2_IS_L6470
548
 //#define X2_IS_L6470
549
   #define X2_MICROSTEPS 16     //number of microsteps
549
   #define X2_MICROSTEPS 16     //number of microsteps
550
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
550
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
551
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
551
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
552
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
552
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
553
-  
553
+
554
 //#define Y_IS_L6470
554
 //#define Y_IS_L6470
555
   #define Y_MICROSTEPS 16     //number of microsteps
555
   #define Y_MICROSTEPS 16     //number of microsteps
556
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
556
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
557
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
557
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
558
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
558
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
559
-  
559
+
560
 //#define Y2_IS_L6470
560
 //#define Y2_IS_L6470
561
-  #define Y2_MICROSTEPS 16     //number of microsteps 
562
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
561
+  #define Y2_MICROSTEPS 16     //number of microsteps
562
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
563
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
563
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
564
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
565
-  
564
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
565
+
566
 //#define Z_IS_L6470
566
 //#define Z_IS_L6470
567
   #define Z_MICROSTEPS 16     //number of microsteps
567
   #define Z_MICROSTEPS 16     //number of microsteps
568
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
568
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
569
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
569
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
570
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
570
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
571
-  
571
+
572
 //#define Z2_IS_L6470
572
 //#define Z2_IS_L6470
573
   #define Z2_MICROSTEPS 16     //number of microsteps
573
   #define Z2_MICROSTEPS 16     //number of microsteps
574
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
574
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
575
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
575
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
576
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
576
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
577
-  
577
+
578
 //#define E0_IS_L6470
578
 //#define E0_IS_L6470
579
   #define E0_MICROSTEPS 16     //number of microsteps
579
   #define E0_MICROSTEPS 16     //number of microsteps
580
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
580
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
581
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
581
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
582
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
582
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
583
-  
583
+
584
 //#define E1_IS_L6470
584
 //#define E1_IS_L6470
585
-  #define E1_MICROSTEPS 16     //number of microsteps 
586
   #define E1_MICROSTEPS 16     //number of microsteps
585
   #define E1_MICROSTEPS 16     //number of microsteps
587
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
586
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
588
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
589
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
590
-  
589
+
591
 //#define E2_IS_L6470
590
 //#define E2_IS_L6470
592
-  #define E2_MICROSTEPS 16     //number of microsteps 
593
   #define E2_MICROSTEPS 16     //number of microsteps
591
   #define E2_MICROSTEPS 16     //number of microsteps
594
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
592
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
595
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
596
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
597
-  
595
+
598
 //#define E3_IS_L6470
596
 //#define E3_IS_L6470
599
-  #define E3_MICROSTEPS 16     //number of microsteps   
600
   #define E3_MICROSTEPS 16     //number of microsteps
597
   #define E3_MICROSTEPS 16     //number of microsteps
601
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
598
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
602
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
599
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
603
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
600
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
604
-  
601
+
605
 #endif
602
 #endif
606
 
603
 
607
 #include "Conditionals.h"
604
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

872
 
872
 
873
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
873
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
874
 //#define LCD_I2C_VIKI
874
 //#define LCD_I2C_VIKI
875
-  
875
+
876
 // SSD1306 OLED generic display support
876
 // SSD1306 OLED generic display support
877
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
877
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
878
 //#define U8GLIB_SSD1306
878
 //#define U8GLIB_SSD1306
982
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
982
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
983
 //#define FILAMENT_LCD_DISPLAY
983
 //#define FILAMENT_LCD_DISPLAY
984
 
984
 
985
-
986
-
987
-
988
-
989
-
990
 #include "Configuration_adv.h"
985
 #include "Configuration_adv.h"
991
 #include "thermistortables.h"
986
 #include "thermistortables.h"
992
 
987
 

+ 40
- 43
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
344
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
345
   // we don't have a big font for Cyrillic, Kana
345
   // we don't have a big font for Cyrillic, Kana
346
   //#define USE_BIG_EDIT_FONT
346
   //#define USE_BIG_EDIT_FONT
347
- 
348
-  // If you have spare 2300Byte of progmem and want to use a 
347
+
348
+  // If you have spare 2300Byte of progmem and want to use a
349
   // smaller font on the Info-screen uncomment the next line.
349
   // smaller font on the Info-screen uncomment the next line.
350
   //#define USE_SMALL_INFOFONT
350
   //#define USE_SMALL_INFOFONT
351
 #endif // DOGLCD
351
 #endif // DOGLCD
467
 #endif
467
 #endif
468
 
468
 
469
 /******************************************************************************\
469
 /******************************************************************************\
470
- * enable this section if you have TMC26X motor drivers. 
470
+ * enable this section if you have TMC26X motor drivers.
471
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  * you need to import the TMC26XStepper library into the arduino IDE for this
472
  ******************************************************************************/
472
  ******************************************************************************/
473
 
473
 
480
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_MAX_CURRENT 1000  //in mA
481
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_SENSE_RESISTOR 91 //in mOhms
482
   #define X_MICROSTEPS 16     //number of microsteps
482
   #define X_MICROSTEPS 16     //number of microsteps
483
-  
483
+
484
 //#define X2_IS_TMC
484
 //#define X2_IS_TMC
485
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_MAX_CURRENT 1000  //in mA
486
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_SENSE_RESISTOR 91 //in mOhms
487
   #define X2_MICROSTEPS 16     //number of microsteps
487
   #define X2_MICROSTEPS 16     //number of microsteps
488
-  
488
+
489
 //#define Y_IS_TMC
489
 //#define Y_IS_TMC
490
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_MAX_CURRENT 1000  //in mA
491
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_SENSE_RESISTOR 91 //in mOhms
492
   #define Y_MICROSTEPS 16     //number of microsteps
492
   #define Y_MICROSTEPS 16     //number of microsteps
493
-  
493
+
494
 //#define Y2_IS_TMC
494
 //#define Y2_IS_TMC
495
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_MAX_CURRENT 1000  //in mA
496
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
   #define Y2_SENSE_RESISTOR 91 //in mOhms
497
-  #define Y2_MICROSTEPS 16     //number of microsteps 
498
-  
497
+  #define Y2_MICROSTEPS 16     //number of microsteps
498
+
499
 //#define Z_IS_TMC
499
 //#define Z_IS_TMC
500
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_MAX_CURRENT 1000  //in mA
501
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_SENSE_RESISTOR 91 //in mOhms
502
   #define Z_MICROSTEPS 16     //number of microsteps
502
   #define Z_MICROSTEPS 16     //number of microsteps
503
-  
503
+
504
 //#define Z2_IS_TMC
504
 //#define Z2_IS_TMC
505
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_MAX_CURRENT 1000  //in mA
506
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_SENSE_RESISTOR 91 //in mOhms
507
   #define Z2_MICROSTEPS 16     //number of microsteps
507
   #define Z2_MICROSTEPS 16     //number of microsteps
508
-  
508
+
509
 //#define E0_IS_TMC
509
 //#define E0_IS_TMC
510
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_MAX_CURRENT 1000  //in mA
511
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_SENSE_RESISTOR 91 //in mOhms
512
   #define E0_MICROSTEPS 16     //number of microsteps
512
   #define E0_MICROSTEPS 16     //number of microsteps
513
-  
513
+
514
 //#define E1_IS_TMC
514
 //#define E1_IS_TMC
515
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_MAX_CURRENT 1000  //in mA
516
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
   #define E1_SENSE_RESISTOR 91 //in mOhms
517
-  #define E1_MICROSTEPS 16     //number of microsteps 
518
-  
517
+  #define E1_MICROSTEPS 16     //number of microsteps
518
+
519
 //#define E2_IS_TMC
519
 //#define E2_IS_TMC
520
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_MAX_CURRENT 1000  //in mA
521
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
   #define E2_SENSE_RESISTOR 91 //in mOhms
522
-  #define E2_MICROSTEPS 16     //number of microsteps 
523
-  
522
+  #define E2_MICROSTEPS 16     //number of microsteps
523
+
524
 //#define E3_IS_TMC
524
 //#define E3_IS_TMC
525
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_MAX_CURRENT 1000  //in mA
526
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
   #define E3_SENSE_RESISTOR 91 //in mOhms
527
-  #define E3_MICROSTEPS 16     //number of microsteps   
527
+  #define E3_MICROSTEPS 16     //number of microsteps
528
 
528
 
529
 #endif
529
 #endif
530
 
530
 
531
 /******************************************************************************\
531
 /******************************************************************************\
532
- * enable this section if you have L6470  motor drivers. 
532
+ * enable this section if you have L6470  motor drivers.
533
  * you need to import the L6470 library into the arduino IDE for this
533
  * you need to import the L6470 library into the arduino IDE for this
534
  ******************************************************************************/
534
  ******************************************************************************/
535
 
535
 
540
 
540
 
541
 //#define X_IS_L6470
541
 //#define X_IS_L6470
542
   #define X_MICROSTEPS 16     //number of microsteps
542
   #define X_MICROSTEPS 16     //number of microsteps
543
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
543
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
544
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
545
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
546
-  
546
+
547
 //#define X2_IS_L6470
547
 //#define X2_IS_L6470
548
   #define X2_MICROSTEPS 16     //number of microsteps
548
   #define X2_MICROSTEPS 16     //number of microsteps
549
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
549
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
550
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
551
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
552
-  
552
+
553
 //#define Y_IS_L6470
553
 //#define Y_IS_L6470
554
   #define Y_MICROSTEPS 16     //number of microsteps
554
   #define Y_MICROSTEPS 16     //number of microsteps
555
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
555
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
556
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
557
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
558
-  
558
+
559
 //#define Y2_IS_L6470
559
 //#define Y2_IS_L6470
560
-  #define Y2_MICROSTEPS 16     //number of microsteps 
561
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
560
+  #define Y2_MICROSTEPS 16     //number of microsteps
561
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
562
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
563
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
564
-  
563
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
564
+
565
 //#define Z_IS_L6470
565
 //#define Z_IS_L6470
566
   #define Z_MICROSTEPS 16     //number of microsteps
566
   #define Z_MICROSTEPS 16     //number of microsteps
567
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
567
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
568
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
569
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
570
-  
570
+
571
 //#define Z2_IS_L6470
571
 //#define Z2_IS_L6470
572
   #define Z2_MICROSTEPS 16     //number of microsteps
572
   #define Z2_MICROSTEPS 16     //number of microsteps
573
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
573
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
574
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
575
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
576
-  
576
+
577
 //#define E0_IS_L6470
577
 //#define E0_IS_L6470
578
   #define E0_MICROSTEPS 16     //number of microsteps
578
   #define E0_MICROSTEPS 16     //number of microsteps
579
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
579
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
580
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
581
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
582
-  
582
+
583
 //#define E1_IS_L6470
583
 //#define E1_IS_L6470
584
-  #define E1_MICROSTEPS 16     //number of microsteps 
585
   #define E1_MICROSTEPS 16     //number of microsteps
584
   #define E1_MICROSTEPS 16     //number of microsteps
586
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
585
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
587
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
588
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
589
-  
588
+
590
 //#define E2_IS_L6470
589
 //#define E2_IS_L6470
591
-  #define E2_MICROSTEPS 16     //number of microsteps 
592
   #define E2_MICROSTEPS 16     //number of microsteps
590
   #define E2_MICROSTEPS 16     //number of microsteps
593
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
591
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
594
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
592
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
595
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
593
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
596
-  
594
+
597
 //#define E3_IS_L6470
595
 //#define E3_IS_L6470
598
-  #define E3_MICROSTEPS 16     //number of microsteps   
599
   #define E3_MICROSTEPS 16     //number of microsteps
596
   #define E3_MICROSTEPS 16     //number of microsteps
600
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
597
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
601
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
598
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
602
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
599
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
603
-  
600
+
604
 #endif
601
 #endif
605
 
602
 
606
 #include "Conditionals.h"
603
 #include "Conditionals.h"

+ 1
- 6
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

862
 
862
 
863
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
863
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
864
 //#define LCD_I2C_VIKI
864
 //#define LCD_I2C_VIKI
865
-  
865
+
866
 // SSD1306 OLED generic display support
866
 // SSD1306 OLED generic display support
867
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
867
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
868
 //#define U8GLIB_SSD1306
868
 //#define U8GLIB_SSD1306
972
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
972
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
973
 //#define FILAMENT_LCD_DISPLAY
973
 //#define FILAMENT_LCD_DISPLAY
974
 
974
 
975
-
976
-
977
-
978
-
979
-
980
 #include "Configuration_adv.h"
975
 #include "Configuration_adv.h"
981
 #include "thermistortables.h"
976
 #include "thermistortables.h"
982
 
977
 

+ 40
- 43
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

149
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
149
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
150
 
150
 
151
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
151
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
152
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
152
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
153
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
153
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
154
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
154
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
155
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
155
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
348
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
348
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
349
   // we don't have a big font for Cyrillic, Kana
349
   // we don't have a big font for Cyrillic, Kana
350
   //#define USE_BIG_EDIT_FONT
350
   //#define USE_BIG_EDIT_FONT
351
- 
352
-  // If you have spare 2300Byte of progmem and want to use a 
351
+
352
+  // If you have spare 2300Byte of progmem and want to use a
353
   // smaller font on the Info-screen uncomment the next line.
353
   // smaller font on the Info-screen uncomment the next line.
354
   //#define USE_SMALL_INFOFONT
354
   //#define USE_SMALL_INFOFONT
355
 #endif // DOGLCD
355
 #endif // DOGLCD
471
 #endif
471
 #endif
472
 
472
 
473
 /******************************************************************************\
473
 /******************************************************************************\
474
- * enable this section if you have TMC26X motor drivers. 
474
+ * enable this section if you have TMC26X motor drivers.
475
  * you need to import the TMC26XStepper library into the arduino IDE for this
475
  * you need to import the TMC26XStepper library into the arduino IDE for this
476
  ******************************************************************************/
476
  ******************************************************************************/
477
 
477
 
484
   #define X_MAX_CURRENT 1000  //in mA
484
   #define X_MAX_CURRENT 1000  //in mA
485
   #define X_SENSE_RESISTOR 91 //in mOhms
485
   #define X_SENSE_RESISTOR 91 //in mOhms
486
   #define X_MICROSTEPS 16     //number of microsteps
486
   #define X_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define X2_IS_TMC
488
 //#define X2_IS_TMC
489
   #define X2_MAX_CURRENT 1000  //in mA
489
   #define X2_MAX_CURRENT 1000  //in mA
490
   #define X2_SENSE_RESISTOR 91 //in mOhms
490
   #define X2_SENSE_RESISTOR 91 //in mOhms
491
   #define X2_MICROSTEPS 16     //number of microsteps
491
   #define X2_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y_IS_TMC
493
 //#define Y_IS_TMC
494
   #define Y_MAX_CURRENT 1000  //in mA
494
   #define Y_MAX_CURRENT 1000  //in mA
495
   #define Y_SENSE_RESISTOR 91 //in mOhms
495
   #define Y_SENSE_RESISTOR 91 //in mOhms
496
   #define Y_MICROSTEPS 16     //number of microsteps
496
   #define Y_MICROSTEPS 16     //number of microsteps
497
-  
497
+
498
 //#define Y2_IS_TMC
498
 //#define Y2_IS_TMC
499
   #define Y2_MAX_CURRENT 1000  //in mA
499
   #define Y2_MAX_CURRENT 1000  //in mA
500
   #define Y2_SENSE_RESISTOR 91 //in mOhms
500
   #define Y2_SENSE_RESISTOR 91 //in mOhms
501
-  #define Y2_MICROSTEPS 16     //number of microsteps 
502
-  
501
+  #define Y2_MICROSTEPS 16     //number of microsteps
502
+
503
 //#define Z_IS_TMC
503
 //#define Z_IS_TMC
504
   #define Z_MAX_CURRENT 1000  //in mA
504
   #define Z_MAX_CURRENT 1000  //in mA
505
   #define Z_SENSE_RESISTOR 91 //in mOhms
505
   #define Z_SENSE_RESISTOR 91 //in mOhms
506
   #define Z_MICROSTEPS 16     //number of microsteps
506
   #define Z_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define Z2_IS_TMC
508
 //#define Z2_IS_TMC
509
   #define Z2_MAX_CURRENT 1000  //in mA
509
   #define Z2_MAX_CURRENT 1000  //in mA
510
   #define Z2_SENSE_RESISTOR 91 //in mOhms
510
   #define Z2_SENSE_RESISTOR 91 //in mOhms
511
   #define Z2_MICROSTEPS 16     //number of microsteps
511
   #define Z2_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E0_IS_TMC
513
 //#define E0_IS_TMC
514
   #define E0_MAX_CURRENT 1000  //in mA
514
   #define E0_MAX_CURRENT 1000  //in mA
515
   #define E0_SENSE_RESISTOR 91 //in mOhms
515
   #define E0_SENSE_RESISTOR 91 //in mOhms
516
   #define E0_MICROSTEPS 16     //number of microsteps
516
   #define E0_MICROSTEPS 16     //number of microsteps
517
-  
517
+
518
 //#define E1_IS_TMC
518
 //#define E1_IS_TMC
519
   #define E1_MAX_CURRENT 1000  //in mA
519
   #define E1_MAX_CURRENT 1000  //in mA
520
   #define E1_SENSE_RESISTOR 91 //in mOhms
520
   #define E1_SENSE_RESISTOR 91 //in mOhms
521
-  #define E1_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E1_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E2_IS_TMC
523
 //#define E2_IS_TMC
524
   #define E2_MAX_CURRENT 1000  //in mA
524
   #define E2_MAX_CURRENT 1000  //in mA
525
   #define E2_SENSE_RESISTOR 91 //in mOhms
525
   #define E2_SENSE_RESISTOR 91 //in mOhms
526
-  #define E2_MICROSTEPS 16     //number of microsteps 
527
-  
526
+  #define E2_MICROSTEPS 16     //number of microsteps
527
+
528
 //#define E3_IS_TMC
528
 //#define E3_IS_TMC
529
   #define E3_MAX_CURRENT 1000  //in mA
529
   #define E3_MAX_CURRENT 1000  //in mA
530
   #define E3_SENSE_RESISTOR 91 //in mOhms
530
   #define E3_SENSE_RESISTOR 91 //in mOhms
531
-  #define E3_MICROSTEPS 16     //number of microsteps   
531
+  #define E3_MICROSTEPS 16     //number of microsteps
532
 
532
 
533
 #endif
533
 #endif
534
 
534
 
535
 /******************************************************************************\
535
 /******************************************************************************\
536
- * enable this section if you have L6470  motor drivers. 
536
+ * enable this section if you have L6470  motor drivers.
537
  * you need to import the L6470 library into the arduino IDE for this
537
  * you need to import the L6470 library into the arduino IDE for this
538
  ******************************************************************************/
538
  ******************************************************************************/
539
 
539
 
544
 
544
 
545
 //#define X_IS_L6470
545
 //#define X_IS_L6470
546
   #define X_MICROSTEPS 16     //number of microsteps
546
   #define X_MICROSTEPS 16     //number of microsteps
547
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
547
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
548
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
548
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
549
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
-  
550
+
551
 //#define X2_IS_L6470
551
 //#define X2_IS_L6470
552
   #define X2_MICROSTEPS 16     //number of microsteps
552
   #define X2_MICROSTEPS 16     //number of microsteps
553
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
553
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
554
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
554
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
555
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
-  
556
+
557
 //#define Y_IS_L6470
557
 //#define Y_IS_L6470
558
   #define Y_MICROSTEPS 16     //number of microsteps
558
   #define Y_MICROSTEPS 16     //number of microsteps
559
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
560
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
560
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
561
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
562
-  
562
+
563
 //#define Y2_IS_L6470
563
 //#define Y2_IS_L6470
564
-  #define Y2_MICROSTEPS 16     //number of microsteps 
565
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
564
+  #define Y2_MICROSTEPS 16     //number of microsteps
565
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
566
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
566
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
568
-  
567
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
+
569
 //#define Z_IS_L6470
569
 //#define Z_IS_L6470
570
   #define Z_MICROSTEPS 16     //number of microsteps
570
   #define Z_MICROSTEPS 16     //number of microsteps
571
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
571
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
572
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
572
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
573
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
-  
574
+
575
 //#define Z2_IS_L6470
575
 //#define Z2_IS_L6470
576
   #define Z2_MICROSTEPS 16     //number of microsteps
576
   #define Z2_MICROSTEPS 16     //number of microsteps
577
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
577
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
578
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
578
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
579
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
-  
580
+
581
 //#define E0_IS_L6470
581
 //#define E0_IS_L6470
582
   #define E0_MICROSTEPS 16     //number of microsteps
582
   #define E0_MICROSTEPS 16     //number of microsteps
583
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
583
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
584
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
584
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
585
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
-  
586
+
587
 //#define E1_IS_L6470
587
 //#define E1_IS_L6470
588
-  #define E1_MICROSTEPS 16     //number of microsteps 
589
   #define E1_MICROSTEPS 16     //number of microsteps
588
   #define E1_MICROSTEPS 16     //number of microsteps
590
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
589
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
591
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
590
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
592
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
591
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
593
-  
592
+
594
 //#define E2_IS_L6470
593
 //#define E2_IS_L6470
595
-  #define E2_MICROSTEPS 16     //number of microsteps 
596
   #define E2_MICROSTEPS 16     //number of microsteps
594
   #define E2_MICROSTEPS 16     //number of microsteps
597
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
595
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
598
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
596
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
599
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
597
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
600
-  
598
+
601
 //#define E3_IS_L6470
599
 //#define E3_IS_L6470
602
-  #define E3_MICROSTEPS 16     //number of microsteps   
603
   #define E3_MICROSTEPS 16     //number of microsteps
600
   #define E3_MICROSTEPS 16     //number of microsteps
604
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
601
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
605
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
602
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
606
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
603
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
607
-  
604
+
608
 #endif
605
 #endif
609
 
606
 
610
 #include "Conditionals.h"
607
 #include "Conditionals.h"

+ 2
- 7
Marlin/example_configurations/makibox/Configuration.h View File

590
 // default settings
590
 // default settings
591
 
591
 
592
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {400, 400, 400, 163}     // default steps per unit for ***** MakiBox A6 *****
592
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {400, 400, 400, 163}     // default steps per unit for ***** MakiBox A6 *****
593
-#define DEFAULT_MAX_FEEDRATE          {60, 60, 20, 45}         // (mm/sec)    
593
+#define DEFAULT_MAX_FEEDRATE          {60, 60, 20, 45}         // (mm/sec)
594
 #define DEFAULT_MAX_ACCELERATION      {2000,2000,30,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.
594
 #define DEFAULT_MAX_ACCELERATION      {2000,2000,30,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.
595
 
595
 
596
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
596
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
744
 
744
 
745
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
745
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
746
 //#define LCD_I2C_VIKI
746
 //#define LCD_I2C_VIKI
747
-  
747
+
748
 // SSD1306 OLED generic display support
748
 // SSD1306 OLED generic display support
749
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
749
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
750
 //#define U8GLIB_SSD1306
750
 //#define U8GLIB_SSD1306
854
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
854
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
855
 //#define FILAMENT_LCD_DISPLAY
855
 //#define FILAMENT_LCD_DISPLAY
856
 
856
 
857
-
858
-
859
-
860
-
861
-
862
 #include "Configuration_adv.h"
857
 #include "Configuration_adv.h"
863
 #include "thermistortables.h"
858
 #include "thermistortables.h"
864
 
859
 

+ 40
- 43
Marlin/example_configurations/makibox/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
342
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
342
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // we don't have a big font for Cyrillic, Kana
343
   // we don't have a big font for Cyrillic, Kana
344
   //#define USE_BIG_EDIT_FONT
344
   //#define USE_BIG_EDIT_FONT
345
- 
346
-  // If you have spare 2300Byte of progmem and want to use a 
345
+
346
+  // If you have spare 2300Byte of progmem and want to use a
347
   // smaller font on the Info-screen uncomment the next line.
347
   // smaller font on the Info-screen uncomment the next line.
348
   //#define USE_SMALL_INFOFONT
348
   //#define USE_SMALL_INFOFONT
349
 #endif // DOGLCD
349
 #endif // DOGLCD
465
 #endif
465
 #endif
466
 
466
 
467
 /******************************************************************************\
467
 /******************************************************************************\
468
- * enable this section if you have TMC26X motor drivers. 
468
+ * enable this section if you have TMC26X motor drivers.
469
  * you need to import the TMC26XStepper library into the arduino IDE for this
469
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  ******************************************************************************/
470
  ******************************************************************************/
471
 
471
 
478
   #define X_MAX_CURRENT 1000  //in mA
478
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_SENSE_RESISTOR 91 //in mOhms
479
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_MICROSTEPS 16     //number of microsteps
480
   #define X_MICROSTEPS 16     //number of microsteps
481
-  
481
+
482
 //#define X2_IS_TMC
482
 //#define X2_IS_TMC
483
   #define X2_MAX_CURRENT 1000  //in mA
483
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_SENSE_RESISTOR 91 //in mOhms
484
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_MICROSTEPS 16     //number of microsteps
485
   #define X2_MICROSTEPS 16     //number of microsteps
486
-  
486
+
487
 //#define Y_IS_TMC
487
 //#define Y_IS_TMC
488
   #define Y_MAX_CURRENT 1000  //in mA
488
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_SENSE_RESISTOR 91 //in mOhms
489
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_MICROSTEPS 16     //number of microsteps
490
   #define Y_MICROSTEPS 16     //number of microsteps
491
-  
491
+
492
 //#define Y2_IS_TMC
492
 //#define Y2_IS_TMC
493
   #define Y2_MAX_CURRENT 1000  //in mA
493
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_SENSE_RESISTOR 91 //in mOhms
494
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
-  #define Y2_MICROSTEPS 16     //number of microsteps 
496
-  
495
+  #define Y2_MICROSTEPS 16     //number of microsteps
496
+
497
 //#define Z_IS_TMC
497
 //#define Z_IS_TMC
498
   #define Z_MAX_CURRENT 1000  //in mA
498
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_SENSE_RESISTOR 91 //in mOhms
499
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_MICROSTEPS 16     //number of microsteps
500
   #define Z_MICROSTEPS 16     //number of microsteps
501
-  
501
+
502
 //#define Z2_IS_TMC
502
 //#define Z2_IS_TMC
503
   #define Z2_MAX_CURRENT 1000  //in mA
503
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_SENSE_RESISTOR 91 //in mOhms
504
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_MICROSTEPS 16     //number of microsteps
505
   #define Z2_MICROSTEPS 16     //number of microsteps
506
-  
506
+
507
 //#define E0_IS_TMC
507
 //#define E0_IS_TMC
508
   #define E0_MAX_CURRENT 1000  //in mA
508
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_SENSE_RESISTOR 91 //in mOhms
509
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_MICROSTEPS 16     //number of microsteps
510
   #define E0_MICROSTEPS 16     //number of microsteps
511
-  
511
+
512
 //#define E1_IS_TMC
512
 //#define E1_IS_TMC
513
   #define E1_MAX_CURRENT 1000  //in mA
513
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_SENSE_RESISTOR 91 //in mOhms
514
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
-  #define E1_MICROSTEPS 16     //number of microsteps 
516
-  
515
+  #define E1_MICROSTEPS 16     //number of microsteps
516
+
517
 //#define E2_IS_TMC
517
 //#define E2_IS_TMC
518
   #define E2_MAX_CURRENT 1000  //in mA
518
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_SENSE_RESISTOR 91 //in mOhms
519
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
-  #define E2_MICROSTEPS 16     //number of microsteps 
521
-  
520
+  #define E2_MICROSTEPS 16     //number of microsteps
521
+
522
 //#define E3_IS_TMC
522
 //#define E3_IS_TMC
523
   #define E3_MAX_CURRENT 1000  //in mA
523
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_SENSE_RESISTOR 91 //in mOhms
524
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
-  #define E3_MICROSTEPS 16     //number of microsteps   
525
+  #define E3_MICROSTEPS 16     //number of microsteps
526
 
526
 
527
 #endif
527
 #endif
528
 
528
 
529
 /******************************************************************************\
529
 /******************************************************************************\
530
- * enable this section if you have L6470  motor drivers. 
530
+ * enable this section if you have L6470  motor drivers.
531
  * you need to import the L6470 library into the arduino IDE for this
531
  * you need to import the L6470 library into the arduino IDE for this
532
  ******************************************************************************/
532
  ******************************************************************************/
533
 
533
 
538
 
538
 
539
 //#define X_IS_L6470
539
 //#define X_IS_L6470
540
   #define X_MICROSTEPS 16     //number of microsteps
540
   #define X_MICROSTEPS 16     //number of microsteps
541
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
541
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
542
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
542
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
543
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
-  
544
+
545
 //#define X2_IS_L6470
545
 //#define X2_IS_L6470
546
   #define X2_MICROSTEPS 16     //number of microsteps
546
   #define X2_MICROSTEPS 16     //number of microsteps
547
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
547
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
548
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
548
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
549
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
-  
550
+
551
 //#define Y_IS_L6470
551
 //#define Y_IS_L6470
552
   #define Y_MICROSTEPS 16     //number of microsteps
552
   #define Y_MICROSTEPS 16     //number of microsteps
553
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
553
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
554
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
554
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
555
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
-  
556
+
557
 //#define Y2_IS_L6470
557
 //#define Y2_IS_L6470
558
-  #define Y2_MICROSTEPS 16     //number of microsteps 
559
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
558
+  #define Y2_MICROSTEPS 16     //number of microsteps
559
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
560
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
560
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
562
-  
561
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
562
+
563
 //#define Z_IS_L6470
563
 //#define Z_IS_L6470
564
   #define Z_MICROSTEPS 16     //number of microsteps
564
   #define Z_MICROSTEPS 16     //number of microsteps
565
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
565
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
566
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
566
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
567
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
-  
568
+
569
 //#define Z2_IS_L6470
569
 //#define Z2_IS_L6470
570
   #define Z2_MICROSTEPS 16     //number of microsteps
570
   #define Z2_MICROSTEPS 16     //number of microsteps
571
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
571
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
572
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
572
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
573
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
-  
574
+
575
 //#define E0_IS_L6470
575
 //#define E0_IS_L6470
576
   #define E0_MICROSTEPS 16     //number of microsteps
576
   #define E0_MICROSTEPS 16     //number of microsteps
577
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
577
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
578
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
578
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
579
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
-  
580
+
581
 //#define E1_IS_L6470
581
 //#define E1_IS_L6470
582
-  #define E1_MICROSTEPS 16     //number of microsteps 
583
   #define E1_MICROSTEPS 16     //number of microsteps
582
   #define E1_MICROSTEPS 16     //number of microsteps
584
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
583
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
584
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
585
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
587
-  
586
+
588
 //#define E2_IS_L6470
587
 //#define E2_IS_L6470
589
-  #define E2_MICROSTEPS 16     //number of microsteps 
590
   #define E2_MICROSTEPS 16     //number of microsteps
588
   #define E2_MICROSTEPS 16     //number of microsteps
591
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
589
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
592
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
590
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
593
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
591
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
594
-  
592
+
595
 //#define E3_IS_L6470
593
 //#define E3_IS_L6470
596
-  #define E3_MICROSTEPS 16     //number of microsteps   
597
   #define E3_MICROSTEPS 16     //number of microsteps
594
   #define E3_MICROSTEPS 16     //number of microsteps
598
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
595
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
599
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
596
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
600
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
597
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
601
-  
598
+
602
 #endif
599
 #endif
603
 
600
 
604
 #include "Conditionals.h"
601
 #include "Conditionals.h"

+ 2
- 7
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

581
 //#define DEFAULT_AXIS_STEPS_PER_UNIT   {81.26, 80.01, 2561, 599.14} // Michel TVRR old
581
 //#define DEFAULT_AXIS_STEPS_PER_UNIT   {81.26, 80.01, 2561, 599.14} // Michel TVRR old
582
 //#define DEFAULT_AXIS_STEPS_PER_UNIT   {71.1, 71.1, 2560, 739.65} // Michel TVRR
582
 //#define DEFAULT_AXIS_STEPS_PER_UNIT   {71.1, 71.1, 2560, 739.65} // Michel TVRR
583
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {71.1, 71.1, 2560, 600} // David TVRR
583
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {71.1, 71.1, 2560, 600} // David TVRR
584
-#define DEFAULT_MAX_FEEDRATE          {500, 500, 5, 45}    // (mm/sec) David TVRR   
584
+#define DEFAULT_MAX_FEEDRATE          {500, 500, 5, 45}    // (mm/sec) David TVRR
585
 #define DEFAULT_MAX_ACCELERATION      {9000,9000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
585
 #define DEFAULT_MAX_ACCELERATION      {9000,9000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
586
 
586
 
587
 /* MICHEL: This has an impact on the "ripples" in print walls */
587
 /* MICHEL: This has an impact on the "ripples" in print walls */
737
 
737
 
738
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
738
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
739
 //#define LCD_I2C_VIKI
739
 //#define LCD_I2C_VIKI
740
-  
740
+
741
 // SSD1306 OLED generic display support
741
 // SSD1306 OLED generic display support
742
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
742
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
743
 //#define U8GLIB_SSD1306
743
 //#define U8GLIB_SSD1306
847
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
847
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
848
 //#define FILAMENT_LCD_DISPLAY
848
 //#define FILAMENT_LCD_DISPLAY
849
 
849
 
850
-
851
-
852
-
853
-
854
-
855
 #include "Configuration_adv.h"
850
 #include "Configuration_adv.h"
856
 #include "thermistortables.h"
851
 #include "thermistortables.h"
857
 
852
 

+ 40
- 43
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
145
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
146
 
146
 
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
147
   // Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.
148
-  // That way the machine is capable to align the bed during home, since both Z steppers are homed. 
148
+  // That way the machine is capable to align the bed during home, since both Z steppers are homed.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
149
   // There is also an implementation of M666 (software endstops adjustment) to this feature.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
150
   // After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
151
   // One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
343
   // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
344
   // we don't have a big font for Cyrillic, Kana
344
   // we don't have a big font for Cyrillic, Kana
345
   //#define USE_BIG_EDIT_FONT
345
   //#define USE_BIG_EDIT_FONT
346
- 
347
-  // If you have spare 2300Byte of progmem and want to use a 
346
+
347
+  // If you have spare 2300Byte of progmem and want to use a
348
   // smaller font on the Info-screen uncomment the next line.
348
   // smaller font on the Info-screen uncomment the next line.
349
   //#define USE_SMALL_INFOFONT
349
   //#define USE_SMALL_INFOFONT
350
 #endif // DOGLCD
350
 #endif // DOGLCD
466
 #endif
466
 #endif
467
 
467
 
468
 /******************************************************************************\
468
 /******************************************************************************\
469
- * enable this section if you have TMC26X motor drivers. 
469
+ * enable this section if you have TMC26X motor drivers.
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
470
  * you need to import the TMC26XStepper library into the arduino IDE for this
471
  ******************************************************************************/
471
  ******************************************************************************/
472
 
472
 
479
   #define X_MAX_CURRENT 1000  //in mA
479
   #define X_MAX_CURRENT 1000  //in mA
480
   #define X_SENSE_RESISTOR 91 //in mOhms
480
   #define X_SENSE_RESISTOR 91 //in mOhms
481
   #define X_MICROSTEPS 16     //number of microsteps
481
   #define X_MICROSTEPS 16     //number of microsteps
482
-  
482
+
483
 //#define X2_IS_TMC
483
 //#define X2_IS_TMC
484
   #define X2_MAX_CURRENT 1000  //in mA
484
   #define X2_MAX_CURRENT 1000  //in mA
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
485
   #define X2_SENSE_RESISTOR 91 //in mOhms
486
   #define X2_MICROSTEPS 16     //number of microsteps
486
   #define X2_MICROSTEPS 16     //number of microsteps
487
-  
487
+
488
 //#define Y_IS_TMC
488
 //#define Y_IS_TMC
489
   #define Y_MAX_CURRENT 1000  //in mA
489
   #define Y_MAX_CURRENT 1000  //in mA
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
490
   #define Y_SENSE_RESISTOR 91 //in mOhms
491
   #define Y_MICROSTEPS 16     //number of microsteps
491
   #define Y_MICROSTEPS 16     //number of microsteps
492
-  
492
+
493
 //#define Y2_IS_TMC
493
 //#define Y2_IS_TMC
494
   #define Y2_MAX_CURRENT 1000  //in mA
494
   #define Y2_MAX_CURRENT 1000  //in mA
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
495
   #define Y2_SENSE_RESISTOR 91 //in mOhms
496
-  #define Y2_MICROSTEPS 16     //number of microsteps 
497
-  
496
+  #define Y2_MICROSTEPS 16     //number of microsteps
497
+
498
 //#define Z_IS_TMC
498
 //#define Z_IS_TMC
499
   #define Z_MAX_CURRENT 1000  //in mA
499
   #define Z_MAX_CURRENT 1000  //in mA
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
500
   #define Z_SENSE_RESISTOR 91 //in mOhms
501
   #define Z_MICROSTEPS 16     //number of microsteps
501
   #define Z_MICROSTEPS 16     //number of microsteps
502
-  
502
+
503
 //#define Z2_IS_TMC
503
 //#define Z2_IS_TMC
504
   #define Z2_MAX_CURRENT 1000  //in mA
504
   #define Z2_MAX_CURRENT 1000  //in mA
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
505
   #define Z2_SENSE_RESISTOR 91 //in mOhms
506
   #define Z2_MICROSTEPS 16     //number of microsteps
506
   #define Z2_MICROSTEPS 16     //number of microsteps
507
-  
507
+
508
 //#define E0_IS_TMC
508
 //#define E0_IS_TMC
509
   #define E0_MAX_CURRENT 1000  //in mA
509
   #define E0_MAX_CURRENT 1000  //in mA
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
510
   #define E0_SENSE_RESISTOR 91 //in mOhms
511
   #define E0_MICROSTEPS 16     //number of microsteps
511
   #define E0_MICROSTEPS 16     //number of microsteps
512
-  
512
+
513
 //#define E1_IS_TMC
513
 //#define E1_IS_TMC
514
   #define E1_MAX_CURRENT 1000  //in mA
514
   #define E1_MAX_CURRENT 1000  //in mA
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
515
   #define E1_SENSE_RESISTOR 91 //in mOhms
516
-  #define E1_MICROSTEPS 16     //number of microsteps 
517
-  
516
+  #define E1_MICROSTEPS 16     //number of microsteps
517
+
518
 //#define E2_IS_TMC
518
 //#define E2_IS_TMC
519
   #define E2_MAX_CURRENT 1000  //in mA
519
   #define E2_MAX_CURRENT 1000  //in mA
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
520
   #define E2_SENSE_RESISTOR 91 //in mOhms
521
-  #define E2_MICROSTEPS 16     //number of microsteps 
522
-  
521
+  #define E2_MICROSTEPS 16     //number of microsteps
522
+
523
 //#define E3_IS_TMC
523
 //#define E3_IS_TMC
524
   #define E3_MAX_CURRENT 1000  //in mA
524
   #define E3_MAX_CURRENT 1000  //in mA
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
525
   #define E3_SENSE_RESISTOR 91 //in mOhms
526
-  #define E3_MICROSTEPS 16     //number of microsteps   
526
+  #define E3_MICROSTEPS 16     //number of microsteps
527
 
527
 
528
 #endif
528
 #endif
529
 
529
 
530
 /******************************************************************************\
530
 /******************************************************************************\
531
- * enable this section if you have L6470  motor drivers. 
531
+ * enable this section if you have L6470  motor drivers.
532
  * you need to import the L6470 library into the arduino IDE for this
532
  * you need to import the L6470 library into the arduino IDE for this
533
  ******************************************************************************/
533
  ******************************************************************************/
534
 
534
 
539
 
539
 
540
 //#define X_IS_L6470
540
 //#define X_IS_L6470
541
   #define X_MICROSTEPS 16     //number of microsteps
541
   #define X_MICROSTEPS 16     //number of microsteps
542
-  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
542
+  #define X_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
543
   #define X_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
544
   #define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
545
-  
545
+
546
 //#define X2_IS_L6470
546
 //#define X2_IS_L6470
547
   #define X2_MICROSTEPS 16     //number of microsteps
547
   #define X2_MICROSTEPS 16     //number of microsteps
548
-  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
548
+  #define X2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
549
   #define X2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
550
   #define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
551
-  
551
+
552
 //#define Y_IS_L6470
552
 //#define Y_IS_L6470
553
   #define Y_MICROSTEPS 16     //number of microsteps
553
   #define Y_MICROSTEPS 16     //number of microsteps
554
-  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
554
+  #define Y_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
555
   #define Y_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
556
   #define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
557
-  
557
+
558
 //#define Y2_IS_L6470
558
 //#define Y2_IS_L6470
559
-  #define Y2_MICROSTEPS 16     //number of microsteps 
560
-  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
559
+  #define Y2_MICROSTEPS 16     //number of microsteps
560
+  #define Y2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
561
   #define Y2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
562
-  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall 
563
-  
562
+  #define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
563
+
564
 //#define Z_IS_L6470
564
 //#define Z_IS_L6470
565
   #define Z_MICROSTEPS 16     //number of microsteps
565
   #define Z_MICROSTEPS 16     //number of microsteps
566
-  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
566
+  #define Z_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
567
   #define Z_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
568
   #define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
569
-  
569
+
570
 //#define Z2_IS_L6470
570
 //#define Z2_IS_L6470
571
   #define Z2_MICROSTEPS 16     //number of microsteps
571
   #define Z2_MICROSTEPS 16     //number of microsteps
572
-  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
572
+  #define Z2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
573
   #define Z2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
574
   #define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
575
-  
575
+
576
 //#define E0_IS_L6470
576
 //#define E0_IS_L6470
577
   #define E0_MICROSTEPS 16     //number of microsteps
577
   #define E0_MICROSTEPS 16     //number of microsteps
578
-  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
578
+  #define E0_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
579
   #define E0_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
580
   #define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
581
-  
581
+
582
 //#define E1_IS_L6470
582
 //#define E1_IS_L6470
583
-  #define E1_MICROSTEPS 16     //number of microsteps 
584
   #define E1_MICROSTEPS 16     //number of microsteps
583
   #define E1_MICROSTEPS 16     //number of microsteps
585
-  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
584
+  #define E1_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
586
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
585
   #define E1_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
587
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
586
   #define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
588
-  
587
+
589
 //#define E2_IS_L6470
588
 //#define E2_IS_L6470
590
-  #define E2_MICROSTEPS 16     //number of microsteps 
591
   #define E2_MICROSTEPS 16     //number of microsteps
589
   #define E2_MICROSTEPS 16     //number of microsteps
592
-  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
590
+  #define E2_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
593
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
591
   #define E2_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
594
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
592
   #define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
595
-  
593
+
596
 //#define E3_IS_L6470
594
 //#define E3_IS_L6470
597
-  #define E3_MICROSTEPS 16     //number of microsteps   
598
   #define E3_MICROSTEPS 16     //number of microsteps
595
   #define E3_MICROSTEPS 16     //number of microsteps
599
-  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high    
596
+  #define E3_K_VAL 50          // 0 - 255, Higher values, are higher power. Be carefull not to go too high
600
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
597
   #define E3_OVERCURRENT 2000  //maxc current in mA. If the current goes over this value, the driver will switch off
601
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
598
   #define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
602
-  
599
+
603
 #endif
600
 #endif
604
 
601
 
605
 #include "Conditionals.h"
602
 #include "Conditionals.h"

Loading…
Cancel
Save