Skip to content

mworkfun/pxt-ws2812b

 
 

Repository files navigation

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 [email protected] with any additional questions or comments.

About

A driver for WS2812B LEDs in MakeCode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Assembly 89.6%
  • TypeScript 6.6%
  • Makefile 3.8%