-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3757 from thinkyhead/rc_fix_auto_fans
Don't try to enable unused auto fans
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e01e529
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm testing this out and it doesn't appear to work for my configuration. Voltage measures 300mv off the pwm pins. Works with same pins in RC 4.
In my case auto extruder 1 and 2 are both set to the same pin while 3 and 4 are -1. I have 2 extruders, only the first is active.
I see you have a loop that automatically sets the fan, could the below scenario be occurring?
The routine looks at extruder 1, turns on the fan when the temp is higher.
then looks at extruder 2, turns the fan off because the temp is lower.
Since they are on the same pin it appears as if nothing is happening.
I do see random voltage spikes off my multimeter which would indicate something is happening.
++ I have confirmed that by removing the pin from auto extruder 2 that the fans start up.
e01e529
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. It should be setting only bit 0 in the first loop, then using that to turn on the first auto fan. I will re-examine the logic and see where it might be errant.
e01e529
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, should be all patched up now!