Added FireEffect. Its values still need a bit of tweaking to look right...
This commit is contained in:
19
include/effect_fire.h
Normal file
19
include/effect_fire.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "Effect.h"
|
||||
#include "my_fastled.h"
|
||||
|
||||
class FireEffect : public Effect {
|
||||
private:
|
||||
uint8_t* data;
|
||||
uint8_t spark_temp();
|
||||
void cooldown();
|
||||
void spark();
|
||||
void propagate();
|
||||
void draw();
|
||||
static CRGBPalette16 palette;
|
||||
|
||||
public:
|
||||
void start();
|
||||
void stop();
|
||||
void loop();
|
||||
};
|
Reference in New Issue
Block a user