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