Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about setting the next pixel value to zeros in DMA_TransferHalfHandler #18

Open
yp05327 opened this issue Sep 27, 2023 · 0 comments

Comments

@yp05327
Copy link

yp05327 commented Sep 27, 2023

I have a question about the code here:

ws2812b_set_pixel(0, 0, 0, 0, 0);

The first parameter of ws2812b_set_pixel is led channel, so the code above should set all channels as the following but not only channel 0?

for( i = 0; i < WS2812_BUFFER_COUNT; i++ )
{
    ws2812b_set_pixel(i, 0, 0, 0, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant