|
165 | 165 | * Thermal Protection parameters for the bed are just as above for hotends.
|
166 | 166 | */
|
167 | 167 | #if ENABLED(THERMAL_PROTECTION_BED)
|
168 |
| - #define THERMAL_PROTECTION_BED_PERIOD 20 // Seconds |
169 |
| - #define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius |
| 168 | + #define THERMAL_PROTECTION_BED_PERIOD 20 // Seconds |
| 169 | + #define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius |
170 | 170 |
|
171 | 171 | /**
|
172 | 172 | * As described above, except for the bed (M140/M190/M303).
|
173 | 173 | */
|
174 |
| - #define WATCH_BED_TEMP_PERIOD 60 // Seconds |
175 |
| - #define WATCH_BED_TEMP_INCREASE 2 // Degrees Celsius |
| 174 | + #define WATCH_BED_TEMP_PERIOD 60 // Seconds |
| 175 | + #define WATCH_BED_TEMP_INCREASE 2 // Degrees Celsius |
176 | 176 | #endif
|
177 | 177 |
|
178 | 178 | /**
|
179 | 179 | * Thermal Protection parameters for the heated chamber.
|
180 | 180 | */
|
181 | 181 | #if ENABLED(THERMAL_PROTECTION_CHAMBER)
|
182 |
| - #define THERMAL_PROTECTION_CHAMBER_PERIOD 20 // Seconds |
| 182 | + #define THERMAL_PROTECTION_CHAMBER_PERIOD 20 // Seconds |
183 | 183 | #define THERMAL_PROTECTION_CHAMBER_HYSTERESIS 2 // Degrees Celsius
|
184 | 184 |
|
185 | 185 | /**
|
|
1567 | 1567 | //
|
1568 | 1568 | // G2/G3 Arc Support
|
1569 | 1569 | //
|
1570 |
| -#define ARC_SUPPORT // Disable this feature to save ~3226 bytes |
| 1570 | +#define ARC_SUPPORT // Disable this feature to save ~3226 bytes |
1571 | 1571 | #if ENABLED(ARC_SUPPORT)
|
1572 |
| - #define MM_PER_ARC_SEGMENT 1 // (mm) Length (or minimum length) of each arc segment |
1573 |
| - #define MIN_ARC_SEGMENTS 24 // Minimum number of segments in a complete circle |
| 1572 | + #define MM_PER_ARC_SEGMENT 1 // (mm) Length (or minimum length) of each arc segment |
| 1573 | + //#define ARC_SEGMENTS_PER_R 1 // Max segment length, MM_PER = Min |
| 1574 | + #define MIN_ARC_SEGMENTS 24 // Minimum number of segments in a complete circle |
1574 | 1575 | //#define ARC_SEGMENTS_PER_SEC 50 // Use feedrate to choose segment length (with MM_PER_ARC_SEGMENT as the minimum)
|
1575 |
| - #define N_ARC_CORRECTION 25 // Number of interpolated segments between corrections |
1576 |
| - //#define ARC_P_CIRCLES // Enable the 'P' parameter to specify complete circles |
1577 |
| - //#define CNC_WORKSPACE_PLANES // Allow G2/G3 to operate in XY, ZX, or YZ planes |
| 1576 | + #define N_ARC_CORRECTION 25 // Number of interpolated segments between corrections |
| 1577 | + //#define ARC_P_CIRCLES // Enable the 'P' parameter to specify complete circles |
| 1578 | + //#define CNC_WORKSPACE_PLANES // Allow G2/G3 to operate in XY, ZX, or YZ planes |
1578 | 1579 | #endif
|
1579 | 1580 |
|
1580 | 1581 | // Support for G5 with XYZE destination and IJPQ offsets. Requires ~2666 bytes.
|
|
1771 | 1772 | // Z raise distance for tool-change, as needed for some extruders
|
1772 | 1773 | #define TOOLCHANGE_ZRAISE 2 // (mm)
|
1773 | 1774 | //#define TOOLCHANGE_NO_RETURN // Never return to the previous position on tool-change
|
| 1775 | + #if ENABLED(TOOLCHANGE_NO_RETURN) |
| 1776 | + //#define EVENT_GCODE_AFTER_TOOLCHANGE "G12X" // G-code to run after tool-change is complete |
| 1777 | + #endif |
1774 | 1778 |
|
1775 | 1779 | // Retract and prime filament on tool-change
|
1776 | 1780 | //#define TOOLCHANGE_FILAMENT_SWAP
|
|
2449 | 2453 |
|
2450 | 2454 | #endif // HAS_L64XX
|
2451 | 2455 |
|
| 2456 | +// @section i2cbus |
| 2457 | + |
| 2458 | +// |
| 2459 | +// I2C Master ID for LPC176x LCD and Digital Current control |
| 2460 | +// Does not apply to other peripherals based on the Wire library. |
| 2461 | +// |
| 2462 | +//#define I2C_MASTER_ID 1 // Set a value from 0 to 2 |
| 2463 | + |
2452 | 2464 | /**
|
2453 | 2465 | * TWI/I2C BUS
|
2454 | 2466 | *
|
|
2477 | 2489 | * echo:i2c-reply: from:99 bytes:5 data:hello
|
2478 | 2490 | */
|
2479 | 2491 |
|
2480 |
| -// @section i2cbus |
2481 |
| - |
2482 | 2492 | //#define EXPERIMENTAL_I2CBUS
|
2483 |
| -#define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave |
| 2493 | +#if ENABLED(EXPERIMENTAL_I2CBUS) |
| 2494 | + #define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave |
| 2495 | +#endif |
2484 | 2496 |
|
2485 | 2497 | // @section extras
|
2486 | 2498 |
|
|
0 commit comments