You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/python3
|
|
|
|
import RPi.GPIO as GPIO
|
|
from time import sleep
|
|
|
|
GPIO.setwarnings(False)
|
|
|
|
GPIO.setmode(GPIO.BCM)
|
|
GPIO.setup(14, GPIO.OUT)
|
|
GPIO.setup(15, GPIO.IN)
|
|
|
|
GPIO.output(14, GPIO.input(15))
|
|
|