renderbug/firmware/Figments/Animation.cpp
2019-05-09 22:17:29 -07:00

11 lines
188 B
C++

#include "./Animation.h"
#include "./Input.h"
#include "./Display.h"
#include <algorithm>
uint8_t
AnimatedNumber::value() const
{
return NSFastLED::lerp8by8(m_start, m_end, m_idx);
}