Commit Graph

4 Commits

Author SHA1 Message Date
Thomas Kolb 5da4548e25 Provide Lua function to calculate output array index from led and strip 2021-02-23 22:30:04 +01:00
Thomas Kolb 7631bfb669 Started implementing the UDP protocol 2021-02-22 23:24:32 +01:00
Thomas Kolb 864add8403 Provide SignalProcessing methods to the Lua script
This is accomplished by providing a wrapped reference to the
SignalProcessing instance of the Rust program as a global Lua variable.
The wrapper class implements mlua::UserData, wraps the relevant
SignalProcessing methods and provides them as Lua methods.

So far, this is implemented for get_energy_in_band() only.
2021-02-21 19:49:16 +01:00
Thomas Kolb 62bbff481c Lua support: add script handling class with basic I/O
The relevant functions are called and the return types and sizes
verified. The API for the user is not implemented yet.
2021-02-19 23:29:52 +01:00