New GPIO PWM Control Fan HAT For Raspberry Pi 4 Model B 3B+
11,90 €
Import RPi.GPIO as GPIO. GPIO.setmode(GPIO.BCM). GPIO.setup(22, GPIO.OUT). GPIO.output(22, GPIO.HIGH). GPIO.output(22, GPIO.LOW). /usr/bin/env python. Turn off the fan when IO22 outputs 0, and turn on the fan when output 1.
Jetzt bei Ebay: