Files
qmk/drivers/arm/ws2812.h
T

17 lines
456 B
C
Raw Normal View History

2019-11-07 13:10:29 +00:00
#pragma once
#include "quantum/color.h"
/* User Interface
*
* Input:
* ledarray: An array of GRB data describing the LED colors
* number_of_leds: The number of LEDs to write
*
* The functions will perform the following actions:
* - Set the data-out pin as output
* - Send out the LED data
2019-11-09 07:51:39 -08:00
* - Wait 50us to reset the LEDs
2019-11-07 13:10:29 +00:00
*/
void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);