Interval einstellbar
This commit is contained in:
parent
00ba45d72d
commit
d56ed90020
|
@ -93,6 +93,11 @@ void NeoPatterns::Update() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NeoPatterns::setInterval(uint8_t interval)
|
||||||
|
{
|
||||||
|
Interval = interval;
|
||||||
|
}
|
||||||
|
|
||||||
void NeoPatterns::Increment()
|
void NeoPatterns::Increment()
|
||||||
{
|
{
|
||||||
// OnDebugOutput(String(Index) + " / " + String(TotalSteps));
|
// OnDebugOutput(String(Index) + " / " + String(TotalSteps));
|
||||||
|
|
|
@ -82,7 +82,7 @@ class NeoPatterns : public Adafruit_NeoPixel
|
||||||
uint8_t numToPos(int num);
|
uint8_t numToPos(int num);
|
||||||
uint8_t getAverage(uint8_t array[], uint8_t i, int x, int y);
|
uint8_t getAverage(uint8_t array[], uint8_t i, int x, int y);
|
||||||
uint32_t parseColor(String value);
|
uint32_t parseColor(String value);
|
||||||
|
void setInterval(uint8_t interval);
|
||||||
|
|
||||||
#define EXPLOSION_SIZE_MIN 5
|
#define EXPLOSION_SIZE_MIN 5
|
||||||
#define EXPLOSION_SIZE_MAX 10
|
#define EXPLOSION_SIZE_MAX 10
|
||||||
|
|
Loading…
Reference in New Issue