You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am using your project and trying to figure out how to integrate standard Arduino functions.
After following the instructions here: https://www.lua.org/pil/24.html I have a file called lua_arduino.h:
I think your main sketch will need to call your luaopen_arduino() in the setup function to register those functions, passing in the result of lua->getState()
Once you get it all working, it would be cool to include this as part of the library so that more of the built-in Arduino functions are available within Lua, hopefully expanding it over time to include the full Arduino "language" capabilities.
Hello,
I am using your project and trying to figure out how to integrate standard Arduino functions.
After following the instructions here: https://www.lua.org/pil/24.html I have a file called lua_arduino.h:
I'm just a bit confused as to what to do next. How do I actually add these functions into the Lua interpreter?
The text was updated successfully, but these errors were encountered: