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

Cargo: Add sk6812_rpi for neopixel #40

Merged
merged 4 commits into from
Jul 14, 2023

Conversation

patrickelectric
Copy link
Member

@patrickelectric patrickelectric commented Jul 14, 2023

Signed-off-by: Patrick José Pereira patrickelectric@gmail.com

document_5012917194590257979.mp4

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Copy link
Member

@joaoantoniocardoso joaoantoniocardoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coooool

@patrickelectric patrickelectric merged commit c637b08 into bluerobotics:master Jul 14, 2023
@patrickelectric patrickelectric deleted the add-neopixel branch July 14, 2023 19:34
/// let mut nav = Navigator::new();
///
/// nav.init();
/// let mut leds = [[0, 0, 255], [0, 255, 0], [255, 0, 0]];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let mut leds = [[255, 255, 255];

the other indexes will not work, this example only turn on the blue LED.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is to support LED strips. Right now the function only sets our board LED. Since the only LED that exists is the first, it'll only show blue.

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

Successfully merging this pull request may close these issues.

3 participants