Skip to content

add RGB and HSV to Technic Color Sensor #172

Description

@tylerfowle

Add the ability to get the RGB and/or HSV values from the Technic Color Sensor.
https://docs.pybricks.com/en/stable/pupdevices/colorsensor.html#pybricks.pupdevices.ColorSensor.hsv

Add the ability to customize the default detectable colors. Similar to what pybricks does. https://docs.pybricks.com/en/stable/pupdevices/colorsensor.html#pybricks.pupdevices.ColorSensor.detectable_colors

Additionally, it would be nice if these could be getter functions so you can query the color at a specific time, rather than the current Event system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions