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.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode initial push Feb 28, 2018
.travis.yml updated travis May 23, 2018
Makefile initial push Feb 28, 2018
icon.png adding icon May 23, 2018
main.ts update name to ws2812b Feb 28, 2018
tsconfig.json initial push Feb 28, 2018


ws2812 Build Status

A driver for WS2812B programmable LEDs in MakeCode.


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!



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.