Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

SDK • Re: Problem with WS2812_Parallel example past 7 rows

$
0
0
I figured out the problem.
I have been toying with Adafruit_NeoPXL8 which doesn't have this problem.
Compared its PIO setup instructions and found among other differences, it did not have this line in the config:
sm_config_set_set_pins(&c, pin_base, pin_count);
When I commented out that line in the pio file, I started getting activity from GPIOI0-1
Not sure why that was even in there, since the PIO code doesn't use side-pins, or why it would matter since it doesn't use side-pins.

My next problem:
I randomly get pixels flashing on at various colors full brightness. If I put a few fingers over the input leads on a few strips, no odd behavior.
Before anyone says it, I thought of possibly a logic level voltage problem, but my leads are rather short and I don't have this problem with Adafruit_NeoPXL8. Granted the Adafruit program only handles 8 rows, but even if I limit rows in Parallel to 8 rows, it still does the flashy thing

Statistics: Posted by DanMan32 — Sun Dec 31, 2023 1:40 am



Viewing all articles
Browse latest Browse all 4906

Trending Articles