Skip to content

Commit 2aefa7c

Browse files
committed
Blinks all 6 GPIOs
1 parent 65db366 commit 2aefa7c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/examples/python/gpio.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import Adafruit_BBIO.GPIO as GPIO
44
import time
55

6-
LEDs = ["GP0_0", "GP0_1", "GP0_2", "GP0_3"]
7-
8-
for LED in LEDs:
9-
GPIO.setup(LED, GPIO.OUT)
6+
LEDs = ["GP0_0", "GP0_1", "GP0_2", "GP0_3", "GP1_0", "GP1_1"]
107

118
while True:
129
for LED in LEDs:

0 commit comments

Comments
 (0)