GPIO on NanoPi M2 in Python?

I have setup an Owncloud server using a NanoPi M2. As it can produce some heat I have a fan on my custom 3D printed case, but it is a bit noisy. I wanted to have a small Python script running that monitors the CPU temp and switches on the fan as needed rather than running all the time.

I have been looking for instructions on using the GPIO pins with the NanoPi M2 but I can’t find anything. Are there any tutorials/guides for this?

Cheers! :smiley:

Not that i’am aware of.

If anyone knows, Peter will, hes probably the best person to ask, has vast knowledge of various boards and GPIO usage: