From eda34264f55d61e7f718e50a700bbacb3995476d Mon Sep 17 00:00:00 2001 From: Hebron-of-GitHub Date: Sat, 1 Aug 2020 21:30:25 -0400 Subject: [PATCH] Update script1.py Removed the 4th relay, and changed pin out --- 4port/script1.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/4port/script1.py b/4port/script1.py index 62d76b5..6dfcc91 100755 --- a/4port/script1.py +++ b/4port/script1.py @@ -6,7 +6,7 @@ # init list with pin numbers -pinList = [2, 3, 4, 17] +pinList = [7, 13, 15] # loop through pins and set mode and state to 'high' @@ -30,9 +30,6 @@ GPIO.output(4, GPIO.LOW) print ("THREE") time.sleep(SleepTimeL); - GPIO.output(17, GPIO.LOW) - print ("FOUR") - time.sleep(SleepTimeL); GPIO.cleanup() print ("Good bye!")