Skip to content

Default “Ledmap.json” disregarded #5534

@spblat

Description

@spblat

What happened?

My application is a serpentine arrangement, with an extra/dummy LED between each row. There are 27 physical LEDs, arranged into a 6x4 grid. Prior to 0.16 I use ledmap.json to disable the three dummy LEDs so that the grid is rendered correctly:

{
"width": 6,
"height": 4,
"map": [
0, 1, 2, 3, 4, 5,
12, 11, 10, 9, 8, 7,
14, 15, 16, 17, 18, 19,
26, 25, 24, 23, 22, 21
]
}

To Reproduce Bug

  • 27 LED strip, 0.15, 6x4 2d matrix
  • apply ledmap.json above
  • Three LEDs go dark every six LEDs, last three LEDs go from dark to active. This is the desired behavior
  • Update to 0.16: last 3 LEDs go dark and the “gap” LEDs go active again, leaving the last three dark
  • Revert to 0.15.4, ledmap works correctly

Expected Behavior

Treatment of ledmap should remain unchanged to allow definition of a serpentine grid with an unused LED between rows

Install Method

Binary from WLED.me

What version of WLED?

WLED 16.0.0-beta (2604110)

Which microcontroller/board are you seeing the problem on?

ESP8266

Relevant log/trace output

Anything else?

Thank you WLED team! ♡

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions