A driver for WS2812B LEDs in MakeCode
Switch branches/tags
Nothing to show
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.
.vscode initial push Feb 28, 2018
.gitignore
.travis.yml updated travis May 23, 2018
LICENSE
Makefile initial push Feb 28, 2018
README.md
icon.png adding icon May 23, 2018
main.ts update name to ws2812b Feb 28, 2018
pxt.json
sendBuffer.asm
tsconfig.json initial push Feb 28, 2018

README.md

ws2812 Build Status

A driver for WS2812B programmable LEDs in MakeCode.

Usage

The package exposes ws2812b.sendBuffer that bit-bangs a color buffer for WS2812B LEDs over a pin.

See https://github.com/Microsoft/pxt-neopixel for an example of usage.

~ hint

Bluetooth disabled: This package disables BLE as the real time requirements of the WS2812 conflict with the BLE stack.

~

Simulator support

The sendBuffer function is supported by the micro:bit simulator!

License

MIT

Supported targets

  • for PXT/microbit
  • for PXT/calliope

(The metadata above is needed for package search.)

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.