We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65db366 commit 2aefa7cCopy full SHA for 2aefa7c
source/examples/python/gpio.py
@@ -3,10 +3,7 @@
3
import Adafruit_BBIO.GPIO as GPIO
4
import time
5
6
-LEDs = ["GP0_0", "GP0_1", "GP0_2", "GP0_3"]
7
-
8
-for LED in LEDs:
9
- GPIO.setup(LED, GPIO.OUT)
+LEDs = ["GP0_0", "GP0_1", "GP0_2", "GP0_3", "GP1_0", "GP1_1"]
10
11
while True:
12
for LED in LEDs:
0 commit comments