repetier/Repetier-Host — Issue #10: Fan control issues
Author: TinHead
Created: 2012-01-27 14:27:18+00:00
State: open

Hi,

I lust added 80 mm fans on my machine controlled from a PWM output (pin 4 on gen7 style atmega644).
I'm able to control them just fine but I have noticed two issues with the host (latest version):

1. The fan is turned on as soon as the slider is moved - I think it would be better to keep it off if it was off when adjusting the slider, and only turn it on if you press the "Fan On" button

2. I have noticed that turning the fan on or adjusting the fan speed during a print causes the printing to pause until the speed is set.

To replicate just try printing something, turn on fan -> should result in a small pause. Try dragging the speed slider -> it will pause until you release it, it will first jump back to the initial position, then jump to the position you attempted to set -> then printing resumes.

I think the problem causing both issues is that the host starts sending commands to the firmware as soon as you do something to that speed slider, instead of sending the command after the slider is released.