I am trying to power a small 5V .21 A fan via GPIO pins 1 & 3. I am using pins 1 & 3 due to the nature of the fans connecter. I keep receiving the error:
fan.py:7: RuntimeWarning: A physical pull up resistor is fitted on this channel! GPIO.setup(3, GPIO.OUT)
My current code:
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO(1, GPIO.OUT)
GPIO.setup(3, GPIO.OUT)
GPIO.output(1, 1)
GPIO.output(3, 1)
time.sleep(5)
GPIO.cleanup()