11 lines
247 B
Python
11 lines
247 B
Python
from typing import Protocol
|
|
|
|
|
|
class MotorsBus(Protocol):
|
|
def motor_names(self): ...
|
|
def set_calibration(self): ...
|
|
def apply_calibration(self): ...
|
|
def revert_calibration(self): ...
|
|
def read(self): ...
|
|
def write(self): ...
|