PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Light
libws2812
ws2812_close.c
1
14
#include <stdlib.h>
15
#include "
ws2812.h
"
16
17
void
ws2812_close
(
ws2812_t
*state)
18
{
19
while
(state->command);
20
ws2812_stop
(state);
21
free(state);
22
}
23
ws2812_t
Definition:
ws2812.h:53
ws2812_stop
void ws2812_stop(ws2812_t *driver)
Shut down the COG running a driver.
Definition:
ws2812_stop.c:17
ws2812.h
Driver for WS2812 and WS2812B RGB LEDs.
ws2812_close
void ws2812_close(ws2812_t *driver)
Close a WS2812 or WS2812B driver.
Definition:
ws2812_close.c:17
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17