Looks very interesting. Are there are issue getting it to run on 5.1.5? Linux Peripheral I/O (GPIO, SPI, I2C, MMIO, Serial) with Lua
https://github.com/vsergeev/lua-periphery
lua-periphery is a library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux. It is useful in embedded Linux environments (including BeagleBone, Raspberry Pi, etc. platforms) for interfacing with external peripherals. lua-periphery requires Lua 5.2 or greater, has no dependencies outside the standard C library and Linux, is portable across architectures, and is MIT licensed.
(and on luarocks)
Thanks, ~vsergeev Vanya Sergeev
|