Control classes for raspberry GPIO, needs the pigpio library http://abyz.me.uk/rpi/pigpio/
If you can't sudo... watch elsewhere.
GPIO Connections:
GND GND VCC +3.3v DT GPIO 20 CLK GPIO 21 SW GPIO 12
Led: GPIO 24 with a 220OHM resistor
Vcc 1 3.3V Gnd 14 Ground SCL 5 I2C SCL SDA 3 I2C SCA