Browse Source

Cleanup for DIGIPOTS settings

Scott Lahteine 7 years ago
parent
commit
edff2c917b
29 changed files with 290 additions and 319 deletions
  1. 10
    11
      Marlin/Configuration_adv.h
  2. 10
    11
      Marlin/src/config/default/Configuration_adv.h
  3. 10
    11
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 10
    11
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 10
    11
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 10
    11
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  7. 10
    11
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  8. 10
    11
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  9. 10
    11
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  10. 10
    11
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  11. 10
    11
      Marlin/src/config/examples/Felix/Configuration_adv.h
  12. 10
    11
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  13. 10
    11
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  14. 10
    11
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  15. 10
    11
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  16. 10
    11
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  17. 10
    11
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  18. 10
    11
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  19. 10
    11
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  20. 10
    11
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  21. 10
    11
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  22. 10
    11
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  23. 10
    11
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  24. 10
    11
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  25. 10
    11
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  26. 10
    11
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  27. 10
    11
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  28. 10
    11
      Marlin/src/config/examples/makibox/Configuration_adv.h
  29. 10
    11
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

+ 10
- 11
Marlin/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/default/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 #define DIGIPOT_MOTOR_CURRENT { 150, 170, 180, 190, 180 }   // Values 0-255 (bq ZUM Mega 3D (default): X = 150 [~1.17A]; Y = 170 [~1.33A]; Z = 180 [~1.41A]; E0 = 190 [~1.49A])
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }      // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -423,21 +423,20 @@
423 423
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
424 424
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
425 425
 
426
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
426
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
427 427
 //#define DIGIPOT_I2C
428
-
429
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
428
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
429
+  /**
430
+   * Common slave addresses:
431
+   *
432
+   *                    A   (A shifted)   B   (B shifted)  IC
433
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
434
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
435
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
436
+   */
430 437
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
431 438
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
432 439
 #endif
433
-/**
434
- *  common slave addresses
435
- *
436
- *  board              A   (A shifted)   B   (B shifted)  IC
437
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
438
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
439
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
440
- */
441 440
 
442 441
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
443 442
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -447,21 +447,20 @@
447 447
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
448 448
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
449 449
 
450
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
450
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
451 451
 //#define DIGIPOT_I2C
452
-
453
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
452
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
453
+  /**
454
+   * Common slave addresses:
455
+   *
456
+   *                    A   (A shifted)   B   (B shifted)  IC
457
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
458
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
459
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
460
+   */
454 461
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
455 462
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
456 463
 #endif
457
-/**
458
- *  common slave addresses
459
- *
460
- *  board              A   (A shifted)   B   (B shifted)  IC
461
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
462
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
463
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
464
- */
465 464
 
466 465
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
467 466
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -436,21 +436,20 @@
436 436
 #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
437 437
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
438 438
 
439
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
439
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
440 440
 //#define DIGIPOT_I2C
441
-
442
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
441
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
442
+  /**
443
+   * Common slave addresses:
444
+   *
445
+   *                    A   (A shifted)   B   (B shifted)  IC
446
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
447
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
448
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
449
+   */
443 450
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
444 451
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
445 452
 #endif
446
-/**
447
- *  common slave addresses
448
- *
449
- *  board              A   (A shifted)   B   (B shifted)  IC
450
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
451
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
452
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
453
- */
454 453
 
455 454
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
456 455
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -436,21 +436,20 @@
436 436
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
437 437
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
438 438
 
439
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
439
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
440 440
 //#define DIGIPOT_I2C
441
-
442
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
441
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
442
+  /**
443
+   * Common slave addresses:
444
+   *
445
+   *                    A   (A shifted)   B   (B shifted)  IC
446
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
447
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
448
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
449
+   */
443 450
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
444 451
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
445 452
 #endif
446
-/**
447
- *  common slave addresses
448
- *
449
- *  board              A   (A shifted)   B   (B shifted)  IC
450
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
451
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
452
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
453
- */
454 453
 
455 454
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
456 455
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -436,21 +436,20 @@
436 436
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
437 437
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
438 438
 
439
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
439
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
440 440
 //#define DIGIPOT_I2C
441
-
442
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
441
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
442
+  /**
443
+   * Common slave addresses:
444
+   *
445
+   *                    A   (A shifted)   B   (B shifted)  IC
446
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
447
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
448
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
449
+   */
443 450
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
444 451
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
445 452
 #endif
446
-/**
447
- *  common slave addresses
448
- *
449
- *  board              A   (A shifted)   B   (B shifted)  IC
450
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
451
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
452
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
453
- */
454 453
 
455 454
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
456 455
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -436,21 +436,20 @@
436 436
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
437 437
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
438 438
 
439
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
439
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
440 440
 //#define DIGIPOT_I2C
441
-
442
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
441
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
442
+  /**
443
+   * Common slave addresses:
444
+   *
445
+   *                    A   (A shifted)   B   (B shifted)  IC
446
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
447
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
448
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
449
+   */
443 450
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
444 451
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
445 452
 #endif
446
-/**
447
- *  common slave addresses
448
- *
449
- *  board              A   (A shifted)   B   (B shifted)  IC
450
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
451
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
452
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
453
- */
454 453
 
455 454
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
456 455
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -441,21 +441,20 @@
441 441
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
442 442
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
443 443
 
444
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
444
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
445 445
 //#define DIGIPOT_I2C
446
-
447
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
446
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
447
+  /**
448
+   * Common slave addresses:
449
+   *
450
+   *                    A   (A shifted)   B   (B shifted)  IC
451
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
452
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
453
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
454
+   */
448 455
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
449 456
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
450 457
 #endif
451
-/**
452
- *  common slave addresses
453
- *
454
- *  board              A   (A shifted)   B   (B shifted)  IC
455
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
456
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
457
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
458
- */
459 458
 
460 459
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
461 460
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -436,21 +436,20 @@
436 436
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
437 437
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
438 438
 
439
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
439
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
440 440
 //#define DIGIPOT_I2C
441
-
442
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
441
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
442
+  /**
443
+   * Common slave addresses:
444
+   *
445
+   *                    A   (A shifted)   B   (B shifted)  IC
446
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
447
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
448
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
449
+   */
443 450
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
444 451
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
445 452
 #endif
446
-/**
447
- *  common slave addresses
448
- *
449
- *  board              A   (A shifted)   B   (B shifted)  IC
450
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
451
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
452
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
453
- */
454 453
 
455 454
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
456 455
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 4 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

+ 10
- 11
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -434,21 +434,20 @@
434 434
 //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
435 435
 //#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 }    // Default drive percent - X, Y, Z, E axis
436 436
 
437
-// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
437
+// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
438 438
 //#define DIGIPOT_I2C
439
-
440
-#if (defined(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A))  //default to settings in pins_XXXX.h files
439
+#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
440
+  /**
441
+   * Common slave addresses:
442
+   *
443
+   *                    A   (A shifted)   B   (B shifted)  IC
444
+   * Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
445
+   * AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
446
+   * MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
447
+   */
441 448
   #define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT
442 449
   #define DIGIPOT_I2C_ADDRESS_B 0x2D  // unshifted slave address for second DIGIPOT
443 450
 #endif
444
-/**
445
- *  common slave addresses
446
- *
447
- *  board              A   (A shifted)   B   (B shifted)  IC
448
- *  Smoothie          0x2C (0x58)       0x2D (0x5A)       MCP4451
449
- *  AZTEEG_X3_PRO     0x2C (0x58)       0x2E (0x5C)       MCP4451
450
- *  MIGHTYBOARD_REVE  0x2F (0x5E)                         MCP4018
451
- */
452 451
 
453 452
 //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
454 453
 #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8

Loading…
Cancel
Save