Skip to content

Commit 7908a77

Browse files
author
Ryan Grieve
committed
Changing to BCM
1 parent 40bf7ab commit 7908a77

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

config.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323

2424
# Using GPIO.BOARD as mode
2525
GPIO_ACTIONS = {
26-
19: "module_stats",
27-
21: "module_items",
28-
23: "module_data",
29-
16: "knob_1",
30-
18: "knob_2",
31-
22: "knob_3",
32-
24: "knob_4",
33-
26: "knob_5",
34-
10: "dial_up",
35-
12: "dial_down"
26+
10: "module_stats",
27+
9: "module_items",
28+
11: "module_data",
29+
23: "knob_1",
30+
24: "knob_2",
31+
25: "knob_3",
32+
8: "knob_4",
33+
7: "knob_5",
34+
15: "dial_up",
35+
18: "dial_down"
3636
}
3737

3838

pypboy/modules/data/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Module(BaseModule):
1010

1111
label = "DATA"
12-
GPIO_LED_ID = 15
12+
GPIO_LED_ID = 22
1313

1414
def __init__(self, *args, **kwargs):
1515
self.submodules = [

pypboy/modules/items/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Module(BaseModule):
1010

1111
label = "ITEMS"
12-
GPIO_LED_ID = 13
12+
GPIO_LED_ID = 27
1313

1414
def __init__(self, *args, **kwargs):
1515
self.submodules = [

pypboy/modules/stats/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Module(BaseModule):
1010

1111
label = "STATS"
12-
GPIO_LED_ID = 11
12+
GPIO_LED_ID = 22
1313

1414
def __init__(self, *args, **kwargs):
1515
self.submodules = [

0 commit comments

Comments
 (0)