Skip to content

Explanation on multiple stripe #371

@ScreamZ

Description

@ScreamZ

Hello,

I've read that strip declared together are bound on a board.

What if I do this ?

 const strip1 = new LEDStrip({ board, strips:  [{ pin: 3, length: 196 }], gamma: 2.8 });
 const strip2 = new LEDStrip({ board, strips: [{ pin: 13, length: 12 }], gamma: 2.8 });

Are those strips not supposed to be separated ? It looks like not.
Do i have to rely on custom function to select the 12 last pixels on the second strip when playing with them ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions