Commit Graph

245 Commits

Author SHA1 Message Date
Stefan Kalscheuer
41c16006a1 fill the output buffer with blanks on DGUS2 clone displays
The intention behind the original logic was to fill the entire line with
blanks, so that the output buffer of the display gets "flushed". Restore
this behavior.
2022-12-21 20:15:37 +01:00
Stefan Kalscheuer
fd58245bd2 use LCD_SERIAL for Anycubic touchscreen communication
Replace our implementation of HardwareSerial with LCD_SERIAL from AVR
HAL and copy helper methods and macros from Anycubic i3 ExtUI.
2022-12-21 12:26:45 +01:00
Stefan Kalscheuer
c2c950bbca simplify file name sanitization
The routine copies "fileNameLen" characters from the original filename
plus one additional character or a trailing blank. This additional char
is overwritten by a terminating null-byte afterwards anyway.

Remove the redundant check and simplify the loop.
2022-12-21 09:07:05 +01:00
Stefan Kalscheuer
3a19d9ef69 use longest_filename() for SD card files instead of longFilename
The long filename is not always filled, so files like "test.gco" may not
be shown in the file list. Use the built-in fallback to the longest name
available to overcome that issue and print the 8.3 name if no other is
available.
2022-12-20 09:03:22 +01:00
Stefan Kalscheuer
67c7ce7b79 Merge upstream changes from Marlin 2.1.2 2022-12-19 15:31:22 +01:00
Stefan Kalscheuer
db27202614 update leveling implementation and pin config for Chiron 2022-09-12 16:18:03 +02:00
Stefan Kalscheuer
6368552ced clean up HardwareSerial code
Remove unused variables, sanitize declarations and apply uncrust.
2022-09-12 16:18:02 +02:00
Stefan Kalscheuer
afee7b10c2 apply uncrust to anycubic_touchscreen 2022-09-03 09:26:38 +02:00
Stefan Kalscheuer
031c095019 remove explicit ABL inclusion from Anycubit Touchscreen code 2022-09-03 09:26:05 +02:00
Stefan Kalscheuer
986e416c7f Merge upstream changes from Marlin 2.1.1 2022-09-03 09:23:32 +02:00
Knutwurst
7444f4bb45 Add reset to 4Max Pro routine 2022-02-21 13:06:24 +01:00
Knutwurst
c66f3559d7 Reenable Mesh after 4 point easy level. 2022-02-18 09:57:27 +01:00
Knutwurst
1183a5b51c Fix bug, where Mesh was always applied when using 4 point easy leveling. 2022-02-18 09:53:43 +01:00
Knutwurst
2bc946edab Fix StopPrint when used before the actual print starts. 2022-02-13 12:43:34 +01:00
Knutwurst
3afc5c0dc1 Automatically disable steppers after stopping the print. 2022-02-13 12:34:32 +01:00
Knutwurst
f03df0b280 Add MEGA_P feature toggle (just in case, the implementation is used by another printer) 2022-02-10 09:37:08 +01:00
Knutwurst
b035c464dd Implement MEGA PRO inbuilt 4 point leveling 2022-02-10 09:25:13 +01:00
Knutwurst
ff88387916 Remove 8+3 filename crap when usind longer files on Anycubic 0.0.2 Display. It's now cut off at 26 characters but still displayed. 2022-02-04 23:36:04 +01:00
Knutwurst
b217d9fe69 Fix lockup and freeze for DGUS variants when pressing STOP while printing from SD card. 2022-02-04 19:44:38 +01:00
Knutwurst
d95fcd7673 Some minor fixes. 2022-02-03 12:14:56 +01:00
Knutwurst
e32e753ebf Some M600 and Filament Runout Fixes. 2022-02-01 12:29:25 +01:00
Knutwurst
66eeb0d7ec Fix Mesh Leveling not homing at start. 2022-01-23 14:45:47 +01:00
Knutwurst
f85e2ebb22 Stop/Abort now works as expected and does not kill the printer. 2022-01-23 12:39:32 +01:00
Knutwurst
47adc716b2 Pause on Filament Runout also works now 2022-01-23 12:27:01 +01:00
Knutwurst
a2efdedde4 Pause/Reheat/Resume now works as expected. 2022-01-23 11:07:04 +01:00
Knutwurst
c8ffbe769b Fix Typo 2022-01-22 22:13:03 +01:00
Knutwurst
f041be8338 TFT Pause/Resume works again, but Filament runout does not park the nozzle. 2022-01-22 21:01:17 +01:00
Knutwurst
a09cf3034e Some Debug cleanup 2022-01-22 18:36:16 +01:00
Knutwurst
03c4a3de09 Fix 4MAX build 2022-01-22 16:19:55 +01:00
Knutwurst
341addb39f More Anycubic 0.0.2 TFT fixes, thanks to @etet100 2022-01-09 14:55:02 +01:00
Knutwurst
b6b2995b5e - Fix resume from pause (M108)
- Use serial out from progmem for debugging
2022-01-09 14:48:21 +01:00
Knutwurst
899f35e029 Remove 4MAX Metal Configuration because the printer uses a 12864 display instead of Anycubic 0.0.2 2022-01-09 14:43:47 +01:00
Knutwurst
85fb3005e4 Change ANY to EITHER macro when only using two values 2021-11-07 11:27:45 +01:00
Knutwurst
8bf38f49a0 Adapt new setAxis implementation 2021-11-07 11:25:06 +01:00
Knutwurst
9cbf70c2ee Fix Pid Tune Hotend on 4MAX and 4MAXP2 2021-11-05 11:07:44 +01:00
Knutwurst
9bf04b2e18 PowerOffPin set up at init. 2021-11-03 20:57:42 +01:00
Knutwurst
806737d701 Disable unused 4MAX powerdown code 2021-11-03 20:47:48 +01:00
Knutwurst
0fae7ebb09 Add auto-power-down feature to 4MAX Pro. 2021-11-03 19:25:31 +01:00
Knutwurst
b6a11d2648 Add EZLevel points for 4MAX and 4MAX Pro 2021-11-03 15:05:20 +01:00
Stefan Kalscheuer
9ffed0e031 harmonize indentation in anycubic_touchscreen sources 2021-11-02 10:28:40 +01:00
Stefan Kalscheuer
7077da3591 update code base to Marlin 2.0.9.2 2021-11-02 10:28:40 +01:00
Knutwurst
7e2409b8a0 Fix build. 2021-10-31 00:12:49 +02:00
Knutwurst
c4725d946d Add original 4MAX Metal configuration and build profile. Also add Case Light control. 2021-10-31 00:09:41 +02:00
Knutwurst
d845160163 Allow ed temoeratures higher than 115 degrees 2021-09-30 10:24:50 +02:00
Knutwurst
04fcfa3b30 Fix Chiron Z-Offset editing via special menu 2021-09-18 21:54:20 +02:00
Knutwurst
533d44bf94 Cleanup 2021-09-17 21:38:18 +02:00
Knutwurst
ad974e176c Fix for #197 Print Menu file list, when there were exactely 3 files or folders on the sd card. This was caused by a misinterpreted comparision between uint16_t and integer. 2021-09-17 21:28:42 +02:00
Knutwurst
85bac6b396 Increase Heatercheck timeout 2021-09-14 10:22:19 +02:00
Knutwurst
2e1c2343cb Revert "HeaterCheck is now only displayed one single time at startup"
This reverts commit 8aa79ade6a.
2021-09-13 22:41:58 +02:00
Knutwurst
8aa79ade6a HeaterCheck is now only displayed one single time at startup 2021-09-13 12:11:58 +02:00