Rainbow animatino
This commit is contained in:
		@ -25,16 +25,22 @@ typedef enum {
 | 
			
		||||
  ANIM_TE_STARTUP,
 | 
			
		||||
  ANIM_FT_STARTUP,
 | 
			
		||||
  ANIM_KNIGHT_RIDER,
 | 
			
		||||
  ANIM_RAINBOW,
 | 
			
		||||
} LEDAnimation;
 | 
			
		||||
 | 
			
		||||
void led_start_animation(LEDAnimation anim);
 | 
			
		||||
void led_anim_te_startup(ULONG _);
 | 
			
		||||
void led_anim_ft_startup(ULONG _);
 | 
			
		||||
void led_anim_knight_rider(ULONG _);
 | 
			
		||||
void led_anim_rainbow(ULONG _);
 | 
			
		||||
 | 
			
		||||
void led_anim_blinker(uint8_t r, uint8_t g, uint8_t b,
 | 
			
		||||
                      uint32_t brightness_steps, uint32_t next_led_steps,
 | 
			
		||||
                      uint32_t delay);
 | 
			
		||||
 | 
			
		||||
void led_hsv_to_rgb(float h, float s, float v, uint8_t *r, uint8_t *g,
 | 
			
		||||
                    uint8_t *b);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user