Skip to content

Commit af47930

Browse files
committed
Switched GP0_0 to GP0_3, etc.
1 parent e18f5c2 commit af47930

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

source/common.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,12 @@ pins_t table[] = {
169169
{ "DGND", "P9_46", 0, -1, -1},
170170

171171
// These are for the Blue
172-
{ "GPO_0", "GP0_0", 57, -1, -1},
173-
{ "GP0_1", "GP0_1", 49, -1, -1},
174-
{ "GP0_2", "GP0_2", 116, -1, -1},
175-
{ "GP0_3", "GP0_3", 113, -1, -1},
176-
{ "GP1_0", "GP1_0", 98, -1, -1},
177-
{ "GP1_1", "GP1_1", 97, -1, -1},
172+
{ "GPO_3", "GP0_3", 57, -1, -1},
173+
{ "GP0_4", "GP0_4", 49, -1, -1},
174+
{ "GP0_5", "GP0_5", 116, -1, -1},
175+
{ "GP0_6", "GP0_6", 113, -1, -1},
176+
{ "GP1_3", "GP1_3", 98, -1, -1},
177+
{ "GP1_4", "GP1_4", 97, -1, -1},
178178
{ "RED_LED", "RED", 66, -1, -1}, // LEDs
179179
{ "GREEN_LED", "GREEN", 67, -1, -1},
180180

source/examples/python/gpio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import Adafruit_BBIO.GPIO as GPIO
44
import time
55

6-
LEDs = ["GP0_0", "GP0_1", "GP0_2", "GP0_3", "GP1_0", "GP1_1", "UT1_0"]
6+
LEDs = ["GP0_3", "GP0_4", "GP0_5", "GP0_6", "GP1_3", "GP1_4",
7+
"RED_LED", "GREEN_LED"]
78
for LED in LEDs:
89
print(LED)
910
GPIO.setup(LED, GPIO.OUT)
@@ -13,4 +14,3 @@
1314
GPIO.output(LED, GPIO.HIGH)
1415
time.sleep(0.1)
1516
GPIO.output(LED, GPIO.LOW)
16-
time.sleep(0.1)

0 commit comments

Comments
 (0)