Example #1
0
void ws2811LedStripInit(void)
{
    memset(&ledStripDMABuffer, 0, WS2811_DMA_BUFFER_SIZE);
    dmaSetHandler(WS2811_DMA_HANDLER_IDENTIFER, ws2811DMAHandler);
    ws2811LedStripHardwareInit();
    ws2811UpdateStrip();
}
Example #2
0
void ws2811LedStripInit(ioTag_t ioTag)
{
    memset(ledStripDMABuffer, 0, sizeof(ledStripDMABuffer));
    ws2811LedStripHardwareInit(ioTag);

    const hsvColor_t hsv_white = { 0, 255, 255 };
    setStripColor(&hsv_white);
    ws2811UpdateStrip();
}
void ws2811LedStripInit(ioTag_t ioTag)
{
    memset(&ledStripDMABuffer, 0, WS2811_DMA_BUFFER_SIZE);
    ws2811LedStripHardwareInit(ioTag);

    const hsvColor_t hsv_white = {  0, 255, 255};
    setStripColor(&hsv_white);
    ws2811UpdateStrip();
}
Example #4
0
void ws2811LedStripInit(void)
{
    memset(&ledStripDMABuffer, 0, WS2811_DMA_BUFFER_SIZE);
    ws2811LedStripHardwareInit();
    ws2811UpdateStrip();
}
Example #5
0
void ws2811LedStripInit(void)
{
    memset(&ledStripDMABuffer, 0, sizeof(ledStripDMABuffer));
    ws2811LedStripHardwareInit();
    ws2811UpdateStrip();
}