ws2812 library  v0.85
Supports ws2812 and ws2812b
Functions
ws2812_start.c File Reference

Start function for WS2812 devices. More...

#include "ws2812.h"

Functions

int ws2812_start (ws2812_t *state)
 Start a driver for WS2812 chips.

Detailed Description

Start function for WS2812 devices.

Author
Parallax Inc.
Version
0.85

Function Documentation

int ws2812_start ( ws2812_t driver)

Start a driver for WS2812 chips.

Parameters
driverPointer to a driver structure
Returns
Driver COG number or -1 on failure