mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
15 lines
378 B
Python
15 lines
378 B
Python
"""LEGO® Programmable Hubs."""
|
|
from enum import Enum
|
|
from .builtins import Speaker, Display, Battery, ColorLight, KeyPad
|
|
|
|
|
|
class EV3Brick():
|
|
"""LEGO® MINDSTORMS® EV3 Brick.
|
|
"""
|
|
Port = Enum('Port', ['A', 'B', 'C', 'D', 'S1', 'S2', 'S3', 'S4'])
|
|
speaker = Speaker()
|
|
display = Display()
|
|
battery = Battery()
|
|
light = ColorLight()
|
|
buttons = KeyPad()
|