aboutsummaryrefslogtreecommitdiff
path: root/drivers/avr/ws2812.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/avr/ws2812.h')
-rw-r--r--drivers/avr/ws2812.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/avr/ws2812.h b/drivers/avr/ws2812.h
index 1f9299ffb..ecb1dc4d1 100644
--- a/drivers/avr/ws2812.h
+++ b/drivers/avr/ws2812.h
@@ -30,7 +30,6 @@
30 30
31#include "rgblight_types.h" 31#include "rgblight_types.h"
32 32
33
34/* User Interface 33/* User Interface
35 * 34 *
36 * Input: 35 * Input:
@@ -43,6 +42,10 @@
43 * - Send out the LED data 42 * - Send out the LED data
44 * - Wait 50�s to reset the LEDs 43 * - Wait 50�s to reset the LEDs
45 */ 44 */
45#ifdef RGB_MATRIX_ENABLE
46void ws2812_setled (int index, uint8_t r, uint8_t g, uint8_t b);
47void ws2812_setled_all (uint8_t r, uint8_t g, uint8_t b);
48#endif
46 49
47void ws2812_setleds (LED_TYPE *ledarray, uint16_t number_of_leds); 50void ws2812_setleds (LED_TYPE *ledarray, uint16_t number_of_leds);
48void ws2812_setleds_pin (LED_TYPE *ledarray, uint16_t number_of_leds,uint8_t pinmask); 51void ws2812_setleds_pin (LED_TYPE *ledarray, uint16_t number_of_leds,uint8_t pinmask);