Skip to content

AriZuu/picoos-lua

Repository files navigation

This library contains LUA interpreter and integrates it into Pico]OS. As LUA is an interpreted language, it is not suitable for writing hard-realtime parts in application. But it could be very useful in secondary tasks, like communication to some external systems or user interfaces.

This is currently full LUA 5.3.1, except posix os module (pipes etc), which is not suitable for Pico]OS.

There is now simple support for RTOS threads:

t = pos.task.create(2, 1024, function()
    print("thread running")
    pos.task.sleep(MS(2000))
    print("thread done");
  end)