I have connected a fan to my raspberry pi with a transistor that sits on pin 5 ( GPIO 5 ).'
I followed a "guide" to make it.
I would like to make a script that makes it run during the day, say from 9 in the morning to 9 in the evening.
I want to use python and the GPIO library, but how would I set it up ?
Any help would be much appreciated.