support
support copied to clipboard
[Feature] Make pybricks.parameters.Color subscriptable
Is your feature request related to a problem? Please describe. See https://github.com/orgs/pybricks/discussions/1660#discussioncomment-9644088
Describe the solution you'd like It would be nice if this worked:
h, s, v = sensor.hsv()
That's nice in Python, and also allows it to be unpacked with blocks.
Describe alternatives you've considered Write a Python utility that the user imports.