Skip to content

MoonLive

Source: MoonLive.h

MoonLive

class MoonLive
src/core/moonlive/MoonLive.h:21

Public Methods

MoonLive() = default : Defaulted constructor.

MoonLive(const MoonLive &) = delete : Deleted constructor.

bool compile(uint8_t r, uint8_t g, uint8_t b)

bool compile(constchar * source, const BuiltinTable & table)

bool compileAnimated()

inline bool ok() const

inline constchar * error() const

inline void run(uint8_t * buf, uint32_t nLights, uint8_t cpl, uint32_t t) const

void free()

inline size_t codeLen() const

inline size_t codeCap() const

inline const DeclaredControl * declaredControls(uint8_t & count) const

inline uint8_t * controlSlot(uint8_t offset)