Re: Discussions on my nodeMCU Lua unofficial FAQ
Posted: Thu Aug 20, 2015 1:00 pm
Yup, this needs explaining since the way it works isn't quite as standard Lua. The build in C libraries like file and ow don't need any explicit loading; they are just magically resolved, and show up in _G once they'e first been referenced. The Lua modules need to be copied to SPIFFS and loaded with a require.
I'll do this in the next day or so. I've got a lot on my plate at the moment!
I'll do this in the next day or so. I've got a lot on my plate at the moment!