Improve USB printing by slowing down on certain situations. This prevents the buffer from running empty and removes the need to wait for new serial commands.
Some hosts like Pronterface use continuous M105 commands to poll temperature, this causes a software halt when the heating via M109 or M190 is finished. Flushing the rx buffer fixes this.
As reported in #15, thanks to @rug156 for the feedback!
As a possible fix for the bug with Cura's end Gcode as described in
issue #7, I changed the leveling state to be disabled after homing since
Cura uses X homing in their end Gcode.
Due to EMI some machines might experience false endstop triggers when homing. By reducing the endstop_poll_count to two samples, we are closely matching the behaviour of Marlin 1.1.8 and earlier.
Hopefully fixing issue #8 for good.
Other updates:
- Enabling printcounter, show statistics using the M78 command
Co-Authored-By: notching <notching@users.noreply.github.com>
Co-Authored-By: md66pt <md66pt@users.noreply.github.com>
While adding ENDSTOP_NOISE_FILTER, I try to reduce the impact on accuracy as much as possible by reducing the endstop_poll_count to 2.
Possible fix for #8.
Thanks to @notching, @mensikv and @md66pt for the valuable feedback!
Thanks to feedback from @DerDominik I was made aware that Anycubic's default acceleration values in their source code are different from the ones they use in their compiled firmwares. Seems like insufficient torque on the Y-axis caused step loss on TMC2208 for that reason.
Co-Authored-By: DerDominik <derdominik@users.noreply.github.com>
Thanks to some great feedback from @RolandRosenfeld I did some small tweaks:
- Adjusted auto PID tune parameters
- Replaced manufacturer PID values
- Minor changes to the readme
- Raised retraction on G26 Mesh Test
- Merged latest bugfix from derhopp
- Added latest hex files
Co-Authored-By: Roland Rosenfeld <roland@spinnaker.de>