kusti8 / OpenHWControl

A cross platform open source tool to control NZXT components easily through software
GNU General Public License v3.0
53 stars 3 forks source link

Suggestion: More comprehensible Grid+ fan control #7

Open dierks-m opened 6 years ago

dierks-m commented 6 years ago

One thing I found to be a bit irritating was that the fans first kick on at 33% speed. Looking at the code, Grid+ doesn't accept anything below 4 volts - my suggestion is to spread the percentage range from 4 to 12 volts into 16 steps, being 6.25% accordingly.

Changes would apply to grid.py and also need the math module.

def calculate_voltage(percent): return 0 if percent == 0 else 3.5+math.floor( percent/6.25+1 )*0.5