You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
577 B

  1. #pragma once
  2. #include "hal.h"
  3. #include "rgblight_types.h"
  4. void set_leds_color_rgb(LED_TYPE color);
  5. void set_led_color_rgb(LED_TYPE color, int pos);
  6. void leds_init(void);
  7. // This is what users will use to interface with this
  8. void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);
  9. void ws2812_setleds_rgbw(LED_TYPE *ledarray, uint16_t number_of_leds);
  10. void WS2812_init(void);
  11. void WS2812_set_color( uint8_t index, uint8_t red, uint8_t green, uint8_t blue );
  12. void WS2812_set_color_all( uint8_t red, uint8_t green, uint8_t blue );
  13. void WS2812_send_colors(void);