Skip to content

Commit 4f7bcbc

Browse files
committed
Fixed input ports
This way they work as an `address=INPUT_X` parameter when instancing new Devices.
1 parent 82db0ce commit 4f7bcbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ev3dev/brickpi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
OUTPUT_C = 'ttyAMA0:outC'
3535
OUTPUT_D = 'ttyAMA0:outD'
3636

37-
INPUT_1 = 'ttyAMA0:in1'
38-
INPUT_2 = 'ttyAMA0:in2'
39-
INPUT_3 = 'ttyAMA0:in3'
40-
INPUT_4 = 'ttyAMA0:in4'
37+
INPUT_1 = 'in1'
38+
INPUT_2 = 'in2'
39+
INPUT_3 = 'in3'
40+
INPUT_4 = 'in4'
4141

4242

4343
class Leds(object):

0 commit comments

Comments
 (0)