Skip to content

Commit 3909b1b

Browse files
committed
fix switch index on encoder offset 3
1 parent d9a4548 commit 3909b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/QuadRotary/QuadRotary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public final class QuadRotary {
9898
DigitalIO(seeSaw: seeSaw, pin: 12),
9999
DigitalIO(seeSaw: seeSaw, pin: 14),
100100
DigitalIO(seeSaw: seeSaw, pin: 17),
101-
DigitalIO(seeSaw: seeSaw, pin: 19),
101+
DigitalIO(seeSaw: seeSaw, pin: 9),
102102
]
103103

104104
for var aSwitch in switches {

0 commit comments

Comments
 (0)