forked from Makuna/NeoPixelBus
Topology, Curves, Gamma, and Samples
Topology, Tiles, and Mosaic layout Animation Curves Color Gamma correct change timescale dynamically on NeoPixelAnimator bilinear color blend methods new samples to support new features
This commit is contained in:
1 parent
22f5e71a0b
commit
3dbfae7fc4
30 files changed
+1917
-110
No files matched your search
@@ -125,11 +125,16 @@ public:
|
||||
_animationLastTick = millis();
|
||||
}
|
||||
|
||||
uint16_t TimeScale()
|
||||
uint16_t getTimeScale()
|
||||
{
|
||||
return _timeScale;
|
||||
}
|
||||
|
||||
void setTimeScale(uint16_t timeScale)
|
||||
{
|
||||
_timeScale = (timeScale < 1) ? (1) : (timeScale > 32768) ? 32768 : timeScale;
|
||||
}
|
||||
|
||||
private:
|
||||
struct AnimationContext
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user