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

Two leds #31

Open
zafersn opened this issue Mar 22, 2019 · 1 comment
Open

Two leds #31

zafersn opened this issue Mar 22, 2019 · 1 comment

Comments

@zafersn
Copy link

zafersn commented Mar 22, 2019

Hi,

I want to turn on and off for two leds,independent of each other. How can I do it ? Flashing one and burning both of them in different colors ?

Thanks

@kluverp
Copy link

kluverp commented Jun 18, 2019

seems easy:
// led 1 (red)
led_strip_set_pixel_rgb(&led_strip, 1, 255, 0, 0);

// led 2 (green)
led_strip_set_pixel_rgb(&led_strip, 2, 0, 255, 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

2 participants