Skip to content

Instantly share code, notes, and snippets.

Avatar

Nader Al-Ghazu alghazu

View GitHub Profile
@alghazu
alghazu / fancontrol python 3.4 code
Created Apr 15, 2019 — forked from highflyersnl/fancontrol python 3.4 code
this is to control a fan on a raspberry pi with python 3.4 on a bc332 transistor
View fancontrol python 3.4 code
#!/usr/bin/env python3
# first author: Edoardo Paolo Scalafiotti <edoardo849@gmail.com>
# Edits done by: Marco Bosch <marcogithub@hotmail.com>
import os
from time import sleep
import signal
import sys
import RPi.GPIO as GPIO
You can’t perform that action at this time.