pitrix/include/effect_big_clock.h

18 lines
331 B
C
Raw Normal View History

#pragma once
#include "Effect.h"
class BigClockEffect : public Effect {
2019-06-07 04:24:16 +00:00
private:
CRGB _color_font = CRGB(0xAAAAAA);
CRGB _color_seconds = CRGB(0xFF0000);
void _draw_seconds();
void _draw_border_pixel(uint8_t second, CRGB* color);
2019-06-07 04:24:16 +00:00
public:
void loop();
String get_name() override { return "big_clock"; }
};