Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong parameter #3

Open
thor171 opened this issue Mar 20, 2022 · 0 comments
Open

Wrong parameter #3

thor171 opened this issue Mar 20, 2022 · 0 comments
Assignees

Comments

@thor171
Copy link

thor171 commented Mar 20, 2022

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.

@FranzAT FranzAT self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants