Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Make pybricks.parameters.Color subscriptable #1661

Open
laurensvalk opened this issue Jun 3, 2024 · 0 comments
Open

[Feature] Make pybricks.parameters.Color subscriptable #1661

laurensvalk opened this issue Jun 3, 2024 · 0 comments
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime)

Comments

@laurensvalk
Copy link
Member

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.

@laurensvalk laurensvalk added enhancement New feature or request triage Issues that have not been triaged yet software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) and removed triage Issues that have not been triaged yet labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime)
Projects
None yet
Development

No branches or pull requests

1 participant