pitrix/include/effect_fire.h

20 lines
293 B
C
Raw Normal View History

#pragma once
#include "Effect.h"
#include "my_fastled.h"
class FireEffect : public Effect {
2019-06-07 04:24:16 +00:00
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();
};