Skip to content

This is a repo for testing WS2811 strips with custom animations while learning the embedded-hal for rust.

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE-GPLv3
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

parkero/bl602-ws2811

 
 

Repository files navigation

bl602-ws2811

This is a repo for testing WS2811 strips with custom animations while learning the embedded-hal for rust.

This is based on https://github.com/9names/bl602-rust-example but all new code is my own and to be licensed under the GPLv3 instead of the original repo's MIT licensing.

It will use animations similar in nature to the lighting_control C library I built for the oMIDItone v2: https://github.com/kiyoshigawa/oMIDItone_Controller_V2

This is all being built and tested on Windows using the latest stable rust compiler. I'm avoiding nightly builds and unstable features for the time being.

To flash your BL602, you'll need it to be running a bootloader, and be in flashing mode. For my Pinecone BL602 board, I have to swap the jumper on pin IO8 from L to H and reset the board to enter bootloader mode. Once it's in bootloader mode, just run cargo blflash --release --port=COMXX and it will compile and upload the code. Then to actually run the program I need to swap the jumper back to L and reset it again.

I would eventually like to switch to using the blash flasher but for now I'm going to keep using what works rather than fight the toolchain before I even have LEDs working.

About

This is a repo for testing WS2811 strips with custom animations while learning the embedded-hal for rust.

Resources

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE-GPLv3
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.2%
  • RPC 0.8%