-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cargo: Add sk6812_rpi for neopixel #40
Conversation
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7e3deaa
to
beced5c
Compare
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
beced5c
to
6d23c65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coooool
/// let mut nav = Navigator::new(); | ||
/// | ||
/// nav.init(); | ||
/// let mut leds = [[0, 0, 255], [0, 255, 0], [255, 0, 0]]; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.
Signed-off-by: Patrick José Pereira patrickelectric@gmail.com
document_5012917194590257979.mp4