Hi,
with Luajit, one could use FFI to access NuttX GPIO functions directly. But
I am afraid that Luajit is currently available only for CM7.
On the other hand, one can write standard Lua extension in C and use it
with plain Lua to access GPIOs. There are numerous examples of how to do it
on intern
Hello,
has anyone tried accessing GPIO pins over Lua? I have tried LED example
presented at NuttX workshop a year or two ago and userled driver is
working fine, but using the same code on GPIO registered pin fails
(assert on open). I suppose io.open is implemented only for userleds and
does not wo