Skip to content

Commit

Permalink
GPIO 21 is probably broken. Changing to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekbielaszewski committed Jun 7, 2022
1 parent 26ed61a commit 97432f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watering.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# GPIO | Relay
# --------------
# 26 01
# 21 02
# 12 02
# 20 03
# 19 04
# 16 05
Expand All @@ -25,7 +25,7 @@
print('Testing the relays! Every relay should open for 0.5sec. Relays '
'should open in order from 1 to 8')
GPIO.setmode(GPIO.BCM)
gpioList = [26, 21, 20, 19, 16, 13, 6, 5]
gpioList = [26, 12, 20, 19, 16, 13, 6, 5]
for i in gpioList:
print('setting PIN:', i, 'to HIGH')
GPIO.setup(i, GPIO.OUT)
Expand Down

0 comments on commit 97432f7

Please sign in to comment.