Thanks. Turned out I was missing luarocks from both the LUA_PATH and LUA_CPATH
2 Likes
Which library are you using for “log”? I have resorted to using print, but assume there is a comparable module for the ST supplied log module.
I just do a global change when I move things to the hub; but it would be a pretty simple matter to whip up an equivalent set of APIs that just converts them to print or io.write.
I don’t tend to do too much in the way of regular drivers off-hub. I only do that with real tricky stuff that’s going to take a lot of trial and error to get working (like LAN comms or data parsing routines).
I ended up stubbing out something for the driver and log modules. It would be nice if the ST packaged some off hub versions for testing and development
1 Like