Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schctl/nrf5x_ws2812b

Generic WS2812B driver for NRF5x series chips
https://github.com/schctl/nrf5x_ws2812b

nrf52 ws2812b

Last synced: 7 days ago
JSON representation

Generic WS2812B driver for NRF5x series chips

Awesome Lists containing this project

README

        

# nrf5x WS2812B driver

This repo contains a bare-metal [WS2812B] driver implemented for Nordic `nrf5-` series chips.

# Arduino Nano 33 Sample

Also contained is some sample code running the driver on the Arduino Nano 33 BLE ([nrf52840]), which
is the board I use to test the driver. Read the following sections on how to run this example.

## Requirements

- Rust Toolchain
- [cargo-binutils]()
- [arduino/BOSSA]() with `bossac` in your path
- [just]() for the provided build and upload recipes

## Build

To build the firmware, use the provided `just build` recipe.

## Upload

> [!IMPORTANT]
> _Ensure the `udev` rules are set before attempting to upload. The [`udev_rules.sh`](./examples/nano33demo/scripts/udev_rules.sh)
> script will do this for you._

Use the `just upload` recipe to call `bossac` and upload the firmware onto the board. Ensure the board
is in bootloader mode before doing so.

[arduino nano 33 ble]:
[nrf52840]:
[ws2812b]: