File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3737from ev3dev .auto import *
3838
3939# Connect two large motors on output ports B and C:
40- motors = [LargeMotor (port ) for port in (OUTPUT_B , OUTPUT_C )]
40+ motors = [LargeMotor (address ) for address in (OUTPUT_B , OUTPUT_C )]
4141
4242# Every device in ev3dev has `connected` property. Use it to check that the
4343# device has actually been connected.
Original file line number Diff line number Diff line change 3333from ev3dev .auto import *
3434
3535# Connect two large motors on output ports B and C
36- lmotor , rmotor = [LargeMotor (port ) for port in (OUTPUT_B , OUTPUT_C )]
36+ lmotor , rmotor = [LargeMotor (address ) for address in (OUTPUT_B , OUTPUT_C )]
3737
3838# Check that the motors are actually connected
3939assert lmotor .connected
You can’t perform that action at this time.
0 commit comments