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.
github: https://github.com/vsergeev/lua-periphery
moonrocks: http://rocks.moonscript.org/modules/luarocks/lua-periphery
(and on luarocks)
linux-x86_64 binary rock:
https://github.com/vsergeev/lua-periphery/releases/download/v1.0.1/lua-periphery-1.0.1-1.linux-x86_64.rock
linux-x86 binary rock:
https://github.com/vsergeev/lua-periphery/releases/download/v1.0.1/lua-periphery-1.0.1-1.linux-x86.rock
linux-arm binary rock:
https://github.com/vsergeev/lua-periphery/releases/download/v1.0.1/lua-periphery-1.0.1-1.linux-arm.rock
Thanks,
~vsergeev
Vanya Sergeev