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

led_indicator: Different indicator LEDs on same strip (AEGHB-576) #338

Closed
3 tasks done
joeltroughton opened this issue Mar 2, 2024 · 2 comments
Closed
3 tasks done

Comments

@joeltroughton
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Is there any way to have different LEDs on an addressable strip acting as their own indicators?

I can see how this might work with GPIO-connected LEDs by assigning each LED its own led_indicator_handle_t, but I can't seem to figure out how to accomplish the same thing when the LEDs are on a strip. An example might be to have index 0 blinking red while index 1 is breathing green.

Would be great, if possible!

@github-actions github-actions bot changed the title led_indicator: Different indicator LEDs on same strip led_indicator: Different indicator LEDs on same strip (AEGHB-576) Mar 2, 2024
@lijunru-hub
Copy link
Contributor

For information on indexing and support for WS2812 LED strips, please refer to the documentation: https://docs.espressif.com/projects/esp-iot-solution/en/latest/display/led_indicator.html#controlling-index
Alternatively, you can check out the example: https://github.com/espressif/esp-iot-solution/tree/master/examples/indicator/ws2812_strips.
Currently, up to 126 LED positions are supported, with the default starting at position 0. Setting it to 127 controls all LEDs.

@lijunru-hub
Copy link
Contributor

If you have no further questions or issues, we will proceed to close this issue. If you need any more help, please feel free to reopen this issue or create a new one.

Thank you for your understanding.

@leeebo leeebo closed this as completed May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants