Skip to content

[Question] Is there a way to discover what is plugged into the hub? #152

@devinbreise

Description

@devinbreise

Working with an EV3, kids want to create a "better" Brickman in Pybricks. They got stuck on how to determine what motors and sensors are currently plugged in. Based on the MindStorms brick manager, it seems that the information is there and is software accessible but we couldn't find an API in Pybricks. I suppose we could just start setting up sensors on a port and see if one doesn't throw an exception...but that still wouldn't differentiate between a medium and large motor for example?

Metadata

Metadata

Assignees

No one assigned

    Labels

    close-meIf there is no new activity on the issue, it will be closed after a few months.software: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)supportRequest for technical support for a problem that is not a bug or feature requesttopic: sensorsIssues involving sensors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions