Skip to content

Commit dd2b4d1

Browse files
committed
ble.lwp3.bytecodes: add more hub kinds
Add Peach and new Technic move hubs.
1 parent 4a773f4 commit dd2b4d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pybricksdev/ble/lwp3/bytecodes.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MIT
2-
# Copyright (c) 2021-2023 The Pybricks Authors
2+
# Copyright (c) 2021-2024 The Pybricks Authors
33
# Some portions of the documentation:
44
# Copyright (c) 2018 LEGO System A/S
55

@@ -195,6 +195,9 @@ class HubKind(IntEnum):
195195
LUIGI = 0x44
196196
"""LEGO Luigi Hub."""
197197

198+
PEACH = 0x45
199+
"""LEGO Peach Hub."""
200+
198201
TECHNIC = 0x80
199202
"""LEGO 4-port Technic Hub."""
200203

@@ -204,6 +207,9 @@ class HubKind(IntEnum):
204207
TECHNIC_SMALL = 0x83
205208
"""LEGO SPIKE Essential Hub."""
206209

210+
TECHNIC_MOVE = 0x84
211+
"""LEGO Technic Move Hub."""
212+
207213
RCX = 0xE0
208214
"""LEGO MINDSTORMS RCX brick. (unofficial Pybricks addition)"""
209215

0 commit comments

Comments
 (0)