I got this tower kit for my pi
https://wiki.52pi.com/index.php?title=ZP-0130-4wire , and can not figure out why the fan is not operating correctly. Admittedly I know very little about programming or python for that matter. Before I even installed any of the software for the tower kit, the fan started working as soon as I started the Pi up. Following the instructions I created the file
pwn_fan.py. When I execute the CLI just starts displaying the cpu temp refreshing every .1 sec, and I can only get it to stop by closing the shell window and relaunching. From what I understand, the script controls the fan through PWM so that depending on CPU temp it will vary the speed of the fan. Am I executing the program in the wrong place, is it bad code....or?