SmallClock eingebaut und Text-Rendering-Funktionen verallgemeinert. #8, closes #9.

This commit is contained in:
2019-05-21 20:28:11 +02:00
parent 81433310f9
commit a88f7b5ec2
3 changed files with 59 additions and 30 deletions

View File

@ -36,15 +36,17 @@ void setup() {
Sinematrix3 effect_sinematrix3;
Clock effect_clock;
SmallClock effect_small_clock;
Bell effect_bell;
Static effect_off(CRGB(0x000000));
Effect* current_effect = &effect_clock;
Effect* current_effect = &effect_small_clock;
#define NUM_EFFECTS 4
#define NUM_EFFECTS 5
EffectEntry effects[NUM_EFFECTS] = {
{"bell", &effect_bell},
{"sinematrix3", &effect_sinematrix3},
{"clock", &effect_clock},
{"small_clock", &effect_small_clock},
{"off", &effect_off}
};