Skip to content

Need help in Getting LED Values #1

@parassharma2809

Description

@parassharma2809

Hey,

We are trying to retrieve the LED/TriLED values from the hummingbird, but there is no direct API provided in the birdbrain.py that can do this. We tried the getSensor API but it just works for the 3 ports with the external sensors. We have a use case where we want to get the values for the LEDs/TriLEDs/Servos directly from the hummingbird bit.
We looked into the servlet too for Hummingbird which said that it supports an endpoint /in/led to get the led value. We tried that but it returns an empty response even after connecting the LEDs and trying to get the value from all the ports.
Can you please help us with this and let us know if it is possible or do we need to do something else at our end to enable this feature? Also, if it is possible to do this, do we need to set the LED first to get that value (We tried both ways and nothing worked)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions