18 lines
286 B
Python
18 lines
286 B
Python
import ev3dev.ev3 as ev3
|
|
|
|
|
|
class Wheel:
|
|
def __init__(self, port):
|
|
self._motor = ev3.LargeMotor(port)
|
|
self._motor.stop_action = 'brake'
|
|
self._speed = 50
|
|
|
|
def run(self):
|
|
pass
|
|
|
|
def stop(self):
|
|
pass
|
|
|
|
def speed_set(self):
|
|
pass
|