You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
just installed your script. There is an error in line 49 in file PWM_fan.py
It needs to be GPIO.setmode(GPIO.BCM) in order to utilize GPIO12. If BOARD is used, it tries to use Pin 12 which is not the same and won't work.
Also the PWM frequency is pretty low, you should prefer something higher about 20kHz when controlling fans.
The rest of the script seems to work fine, well done.
The text was updated successfully, but these errors were encountered:
Hi,
just installed your script. There is an error in line 49 in file PWM_fan.py
It needs to be GPIO.setmode(GPIO.BCM) in order to utilize GPIO12. If BOARD is used, it tries to use Pin 12 which is not the same and won't work.
Also the PWM frequency is pretty low, you should prefer something higher about 20kHz when controlling fans.
The rest of the script seems to work fine, well done.
The text was updated successfully, but these errors were encountered: