18 lines
345 B
C++
18 lines
345 B
C++
#pragma once
|
|
|
|
#include "Effect.h"
|
|
|
|
class BigClockEffect : public Effect {
|
|
private:
|
|
CRGB _color_font = CRGB(0xAAAAAA);
|
|
CRGB _color_seconds = CRGB(0xFF0000);
|
|
|
|
void _draw_seconds();
|
|
void _draw_border_pixel(uint8_t second, uint8_t part, CRGB* color);
|
|
|
|
public:
|
|
void loop();
|
|
String get_name() override { return "big_clock"; }
|
|
};
|
|
|