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 module can not control the index led, during ws2812 light strip (AEGHB-845) #414

Closed
3 tasks done
Connor-WangK opened this issue Oct 16, 2024 · 1 comment
Closed
3 tasks done

Comments

@Connor-WangK
Copy link

Connor-WangK commented Oct 16, 2024

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.

IDF version.

ESP-IDF v5.3.1-240-g2dea1035d9

Espressif SoC revision.

ESP32-C3 (QFN32) (revision v0.4)

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

Custom board

Steps to reproduce.

during light strip index control, the <set_brightness> step does not set index.
I change something in led_indicator.c hereinafter,
after do this, things run well.

led_indicator.c line<464>

            // p_led_indicator->hal_indicator_set_brightness(p_led_indicator->hardware_data, led_indicator_get_gamma_value(brightness_value));
            p_led_indicator->hal_indicator_set_brightness(p_led_indicator->hardware_data, INSERT_INDEX(p_blink_step_value.i, brightness_value));

            ESP_LOGI(TAG, "bright: %"PRIx32, INSERT_INDEX(p_blink_step_value.i, brightness_value));

Build Logs.

No response

More Information.

No response

@github-actions github-actions bot changed the title led_indicator module can not control the index led, during ws2812 light strip led_indicator module can not control the index led, during ws2812 light strip (AEGHB-845) Oct 16, 2024
@lijunru-hub
Copy link
Contributor

Thank you very much for raising this issue. We will fix it in the next version.

Best regards.

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