if i activate GPIO 4 with this script:
Code: Select all
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(4,GPIO.OUT)
GPIO.output(4,True)
If i create a clock
Code: Select all
while True:
GPIO.output(4,True)
time.sleep(0.1)
GPIO.output(4,False)
time.sleep(0.1)
Could someone please help me?
P.S.
Sorry for bad english, i am from Germany.