How to control a fan to cool the CPU of your RaspBerryPi
Edo Scalafiotti
10032

Hey Hello eduardo, thx for this page.

I’m a totally newbie in programming and I basically don’t understand much yet.

I’ve got an error running the script with the terminal of my Rpi and I don’t know how to solve it.

Please help me.

Here is the answer of the terminal:

pi@raspberrypi:~/Desktop $ python run-fan.py 
 File “run-fan.py”, line 17
SyntaxError: Non-ASCII character ‘\xe2’ in file run-fan.py on line 17, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Like what you read? Give Simon Begnaud a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.