Browse Source

Add SOFT_PWM_DITHER to other configurations

Stefan Brüns 8 years ago
parent
commit
5699e2b881

+ 6
- 0
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -1426,6 +1426,12 @@
1426 1426
 // at zero value, there are 128 effective control positions.
1427 1427
 #define SOFT_PWM_SCALE 0
1428 1428
 
1429
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1430
+// be used to mitigate the associated resolution loss. If enabled,
1431
+// some of the PWM cycles are stretched so on average the wanted
1432
+// duty cycle is attained.
1433
+//#define SOFT_PWM_DITHER
1434
+
1429 1435
 // Temperature status LEDs that display the hotend and bed temperature.
1430 1436
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1431 1437
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1409,6 +1409,12 @@
1409 1409
 // at zero value, there are 128 effective control positions.
1410 1410
 #define SOFT_PWM_SCALE 0
1411 1411
 
1412
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1413
+// be used to mitigate the associated resolution loss. If enabled,
1414
+// some of the PWM cycles are stretched so on average the wanted
1415
+// duty cycle is attained.
1416
+//#define SOFT_PWM_DITHER
1417
+
1412 1418
 // Temperature status LEDs that display the hotend and bed temperature.
1413 1419
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1414 1420
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1409,6 +1409,12 @@
1409 1409
 // at zero value, there are 128 effective control positions.
1410 1410
 #define SOFT_PWM_SCALE 0
1411 1411
 
1412
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1413
+// be used to mitigate the associated resolution loss. If enabled,
1414
+// some of the PWM cycles are stretched so on average the wanted
1415
+// duty cycle is attained.
1416
+//#define SOFT_PWM_DITHER
1417
+
1412 1418
 // Temperature status LEDs that display the hotend and bed temperature.
1413 1419
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1414 1420
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -1418,6 +1418,12 @@
1418 1418
 // at zero value, there are 128 effective control positions.
1419 1419
 #define SOFT_PWM_SCALE 0
1420 1420
 
1421
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1422
+// be used to mitigate the associated resolution loss. If enabled,
1423
+// some of the PWM cycles are stretched so on average the wanted
1424
+// duty cycle is attained.
1425
+//#define SOFT_PWM_DITHER
1426
+
1421 1427
 // Temperature status LEDs that display the hotend and bed temperature.
1422 1428
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1423 1429
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -1420,6 +1420,12 @@
1420 1420
 // at zero value, there are 128 effective control positions.
1421 1421
 #define SOFT_PWM_SCALE 0
1422 1422
 
1423
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1424
+// be used to mitigate the associated resolution loss. If enabled,
1425
+// some of the PWM cycles are stretched so on average the wanted
1426
+// duty cycle is attained.
1427
+//#define SOFT_PWM_DITHER
1428
+
1423 1429
 // Temperature status LEDs that display the hotend and bed temperature.
1424 1430
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1425 1431
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1460,6 +1460,12 @@
1460 1460
 // at zero value, there are 128 effective control positions.
1461 1461
 #define SOFT_PWM_SCALE 0
1462 1462
 
1463
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1464
+// be used to mitigate the associated resolution loss. If enabled,
1465
+// some of the PWM cycles are stretched so on average the wanted
1466
+// duty cycle is attained.
1467
+//#define SOFT_PWM_DITHER
1468
+
1463 1469
 // Temperature status LEDs that display the hotend and bed temperature.
1464 1470
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1465 1471
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/K8400/Configuration.h View File

@@ -1426,6 +1426,12 @@
1426 1426
 // at zero value, there are 128 effective control positions.
1427 1427
 #define SOFT_PWM_SCALE 0
1428 1428
 
1429
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1430
+// be used to mitigate the associated resolution loss. If enabled,
1431
+// some of the PWM cycles are stretched so on average the wanted
1432
+// duty cycle is attained.
1433
+//#define SOFT_PWM_DITHER
1434
+
1429 1435
 // Temperature status LEDs that display the hotend and bed temperature.
1430 1436
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1431 1437
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

@@ -1426,6 +1426,12 @@
1426 1426
 // at zero value, there are 128 effective control positions.
1427 1427
 #define SOFT_PWM_SCALE 0
1428 1428
 
1429
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1430
+// be used to mitigate the associated resolution loss. If enabled,
1431
+// some of the PWM cycles are stretched so on average the wanted
1432
+// duty cycle is attained.
1433
+//#define SOFT_PWM_DITHER
1434
+
1429 1435
 // Temperature status LEDs that display the hotend and bed temperature.
1430 1436
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1431 1437
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1426,6 +1426,12 @@
1426 1426
 // at zero value, there are 128 effective control positions.
1427 1427
 #define SOFT_PWM_SCALE 0
1428 1428
 
1429
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1430
+// be used to mitigate the associated resolution loss. If enabled,
1431
+// some of the PWM cycles are stretched so on average the wanted
1432
+// duty cycle is attained.
1433
+//#define SOFT_PWM_DITHER
1434
+
1429 1435
 // Temperature status LEDs that display the hotend and bed temperature.
1430 1436
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1431 1437
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1427,6 +1427,12 @@
1427 1427
 // at zero value, there are 128 effective control positions.
1428 1428
 #define SOFT_PWM_SCALE 0
1429 1429
 
1430
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1431
+// be used to mitigate the associated resolution loss. If enabled,
1432
+// some of the PWM cycles are stretched so on average the wanted
1433
+// duty cycle is attained.
1434
+//#define SOFT_PWM_DITHER
1435
+
1430 1436
 // Temperature status LEDs that display the hotend and bed temperature.
1431 1437
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1432 1438
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1441,6 +1441,12 @@
1441 1441
 // at zero value, there are 128 effective control positions.
1442 1442
 #define SOFT_PWM_SCALE 0
1443 1443
 
1444
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1445
+// be used to mitigate the associated resolution loss. If enabled,
1446
+// some of the PWM cycles are stretched so on average the wanted
1447
+// duty cycle is attained.
1448
+//#define SOFT_PWM_DITHER
1449
+
1444 1450
 // Temperature status LEDs that display the hotend and bed temperature.
1445 1451
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1446 1452
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1447,6 +1447,12 @@
1447 1447
 // at zero value, there are 128 effective control positions.
1448 1448
 #define SOFT_PWM_SCALE 0
1449 1449
 
1450
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1451
+// be used to mitigate the associated resolution loss. If enabled,
1452
+// some of the PWM cycles are stretched so on average the wanted
1453
+// duty cycle is attained.
1454
+//#define SOFT_PWM_DITHER
1455
+
1450 1456
 // Temperature status LEDs that display the hotend and bed temperature.
1451 1457
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1452 1458
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1418,6 +1418,12 @@
1418 1418
 // at zero value, there are 128 effective control positions.
1419 1419
 #define SOFT_PWM_SCALE 0
1420 1420
 
1421
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1422
+// be used to mitigate the associated resolution loss. If enabled,
1423
+// some of the PWM cycles are stretched so on average the wanted
1424
+// duty cycle is attained.
1425
+//#define SOFT_PWM_DITHER
1426
+
1421 1427
 // Temperature status LEDs that display the hotend and bed temperature.
1422 1428
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1423 1429
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1426,6 +1426,12 @@
1426 1426
 // at zero value, there are 128 effective control positions.
1427 1427
 #define SOFT_PWM_SCALE 0
1428 1428
 
1429
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1430
+// be used to mitigate the associated resolution loss. If enabled,
1431
+// some of the PWM cycles are stretched so on average the wanted
1432
+// duty cycle is attained.
1433
+//#define SOFT_PWM_DITHER
1434
+
1429 1435
 // Temperature status LEDs that display the hotend and bed temperature.
1430 1436
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1431 1437
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h View File

@@ -1531,6 +1531,12 @@
1531 1531
 // at zero value, there are 128 effective control positions.
1532 1532
 #define SOFT_PWM_SCALE 0
1533 1533
 
1534
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1535
+// be used to mitigate the associated resolution loss. If enabled,
1536
+// some of the PWM cycles are stretched so on average the wanted
1537
+// duty cycle is attained.
1538
+//#define SOFT_PWM_DITHER
1539
+
1534 1540
 // Temperature status LEDs that display the hotend and bed temperature.
1535 1541
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1536 1542
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1516,6 +1516,12 @@
1516 1516
 // at zero value, there are 128 effective control positions.
1517 1517
 #define SOFT_PWM_SCALE 0
1518 1518
 
1519
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1520
+// be used to mitigate the associated resolution loss. If enabled,
1521
+// some of the PWM cycles are stretched so on average the wanted
1522
+// duty cycle is attained.
1523
+//#define SOFT_PWM_DITHER
1524
+
1519 1525
 // Temperature status LEDs that display the hotend and bed temperature.
1520 1526
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1521 1527
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1520,6 +1520,12 @@
1520 1520
 // at zero value, there are 128 effective control positions.
1521 1521
 #define SOFT_PWM_SCALE 0
1522 1522
 
1523
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1524
+// be used to mitigate the associated resolution loss. If enabled,
1525
+// some of the PWM cycles are stretched so on average the wanted
1526
+// duty cycle is attained.
1527
+//#define SOFT_PWM_DITHER
1528
+
1523 1529
 // Temperature status LEDs that display the hotend and bed temperature.
1524 1530
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1525 1531
 // Otherwise the RED led is on. There is 1C hysteresis.

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

@@ -1519,6 +1519,12 @@
1519 1519
 // at zero value, there are 128 effective control positions.
1520 1520
 #define SOFT_PWM_SCALE 0
1521 1521
 
1522
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1523
+// be used to mitigate the associated resolution loss. If enabled,
1524
+// some of the PWM cycles are stretched so on average the wanted
1525
+// duty cycle is attained.
1526
+//#define SOFT_PWM_DITHER
1527
+
1522 1528
 // Temperature status LEDs that display the hotend and bed temperature.
1523 1529
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1524 1530
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -1529,6 +1529,12 @@
1529 1529
 // at zero value, there are 128 effective control positions.
1530 1530
 #define SOFT_PWM_SCALE 0
1531 1531
 
1532
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1533
+// be used to mitigate the associated resolution loss. If enabled,
1534
+// some of the PWM cycles are stretched so on average the wanted
1535
+// duty cycle is attained.
1536
+//#define SOFT_PWM_DITHER
1537
+
1532 1538
 // Temperature status LEDs that display the hotend and bed temperature.
1533 1539
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1534 1540
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -1429,6 +1429,12 @@
1429 1429
 // at zero value, there are 128 effective control positions.
1430 1430
 #define SOFT_PWM_SCALE 0
1431 1431
 
1432
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1433
+// be used to mitigate the associated resolution loss. If enabled,
1434
+// some of the PWM cycles are stretched so on average the wanted
1435
+// duty cycle is attained.
1436
+//#define SOFT_PWM_DITHER
1437
+
1432 1438
 // Temperature status LEDs that display the hotend and bed temperature.
1433 1439
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1434 1440
 // Otherwise the RED led is on. There is 1C hysteresis.

+ 6
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -1422,6 +1422,12 @@
1422 1422
 // at zero value, there are 128 effective control positions.
1423 1423
 #define SOFT_PWM_SCALE 0
1424 1424
 
1425
+// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
1426
+// be used to mitigate the associated resolution loss. If enabled,
1427
+// some of the PWM cycles are stretched so on average the wanted
1428
+// duty cycle is attained.
1429
+//#define SOFT_PWM_DITHER
1430
+
1425 1431
 // Temperature status LEDs that display the hotend and bed temperature.
1426 1432
 // If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
1427 1433
 // Otherwise the RED led is on. There is 1C hysteresis.

Loading…
Cancel
Save