Skip to content

Brighton Rust User Group embedded project - RGB LEDs

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

linuxtim/rust-brighton-embedded-day-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brighton Rust User Group RGB WS2812 Blinky (Week 5)

A basic demo using the an ST Nucleo-F411RE board with some WS2812 addressible RGB LEDs using the Smart-leds crate.

The code was adapted from one of the smart-leds-samples, and uses the stm32f4xx-hal.

We use one of the stm32f4 SPI peripherals to generate the data signal for the LED string. You will need to use external level shifting as appropriate.

  • Make any necessary changes to suit your development environment (e.g. openocd.gdb .cargo/config etc.).
  • Plug in the hardware
  • Launch openocd
  • cargo run --release

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Brighton Rust User Group embedded project - RGB LEDs

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published