Skip to content

SetLedColor array overload doesn't update LEDs 0-3 correctly #4

@jmfranz

Description

@jmfranz

Subject of the issue

Calling setLEDColors(rArray,gArray,bArray,length) fails to update the colors on LEDs 0,1,2, and 3. Other LEDs are OK.

Calling setLEDColors(color,index) for each led also fails. Interestingly turning on the individual LEDs on the setup() method works.

Your workbench

  • ESP32-S2 WROM
  • QwiiC LED Stick (Red version)
  • USB-C Power to ESP32, i2c cables (not using qwiic connector)
  • USB-C

Steps to reproduce

Call the following method from the loop when a button is pressed:

https://gist.github.com/jmfranz/5baaaa7ecb2fc49c7036000df1c2feb1

Expected behaviour

LEDs 0 and 1 should be violet colour, 2 and 3 blue when value is less than 2.5

Upper LEDs work as expected when values are greater than 0

Actual behaviour

LEDs 0-3 fail to be lit with the correct colour or to turn on at all. Pictures: https://imgur.com/a/vAocXx8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions