Skip to content

CMakeLists.txt for Pimoroni Plasma 2040 (GPIO14-15) with Multi-Segment #19

Answered by awawa-dev
robertvb83 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

What is the index of the first LED? is it 0 or 1. In the description you mention the second segment starts at INDEX 300, i would have thought it must be 301... (First segment being 1-300)

First LED has 0 index. so first 300 segment is 0-299 and the second segment is 300-599. Total 600LEDs configured in HyperHDR.

If multi-segment mode is enabled for SK6812/WS281x, the output for the second segment is always the next GPIO pin (OUTPUT_DATA_PIN + 1)

does this mean, that for multi-segment the data pin needs to be set to 14 so that the second one is 14+1=15 and does this mean, the first LED section needs to be connected to 14 and the second segment to 15?

Yes, this rule about the secon…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@robertvb83
Comment options

@robertvb83
Comment options

@awawa-dev
Comment options

Answer selected by robertvb83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants