Skip to content
Brighton Rust User Group embedded project - RGB LEDs
Rust GDB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cargo
src
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
memory.x
openocd.cfg
openocd.gdb

README.md

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.

You can’t perform that action at this time.