Effect big_clock now show the seconds in a calmer way. Divisible-by-5 seconds are in another color.
This commit is contained in:
		@@ -5,10 +5,11 @@
 | 
			
		||||
class BigClockEffect : public Effect {
 | 
			
		||||
private:
 | 
			
		||||
	CRGB _color_font = CRGB(0xAAAAAA);
 | 
			
		||||
    CRGB _color_seconds = CRGB(0xFF0000);
 | 
			
		||||
    CRGB _color_seconds_light = CRGB(0xFFFF00);
 | 
			
		||||
    CRGB _color_seconds_dark = CRGB(0xFF0000);
 | 
			
		||||
 | 
			
		||||
    void _draw_seconds();
 | 
			
		||||
    void _draw_border_pixel(uint8_t second, CRGB* color);
 | 
			
		||||
    void _draw_border_pixel(uint8_t second, uint8_t part, CRGB* color);
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
    void loop(uint16_t ms);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user