![]() ĭue to the ever-growing number of modules available within NodeMCU, pre-built binaries are no longer made available. With every commit the documentation is rebuilt by Read the Docs and thus transformed from terse Markdown into a nicely browsable HTML site at. The fact that the API documentation is maintained in the same repository as the code that provides the API ensures consistency between the two. The entire NodeMCU documentation is maintained right in this repository at /docs. For more extensive examples have a look at the /lua_examples folder in the repository on GitHub. To give you an idea what a NodeMCU program looks like study the short snippets below. ![]() Many functions, therefore, have parameters for callback functions. ![]() The NodeMCU programming model is similar to that of Node.js, only in Lua. All of the RAM is available for read-write data! Programming Model This now enables NodeMCU developers to create Lua applications with up to 256Kb Lua code and read-only constants executing out of flash. LFS allows Lua code and its associated constant data to be executed directly out of flash-memory just as the firmware itself is executed. In July 2018 support for a Lua Flash Store (LFS) was introduced.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |