Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) with Lua

$ luarocks install lua-periphery

lua-periphery is a library for GPIO, LED, PWM, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux. It is useful in embedded Linux environments (including Raspberry Pi, BeagleBone, etc. platforms) for interfacing with external peripherals. lua-periphery requires Lua 5.1 or greater, has no dependencies outside the standard C library and Linux, is portable across architectures, and is MIT licensed.


2.1.0-188 days ago234 downloads
2.0.1-1179 days ago206 downloads
1.1.3-11 year ago1,912 downloads
1.1.2-12 years ago23 downloads
1.1.1-12 years ago2,111 downloads
1.1.0-13 years ago124 downloads
1.0.6-14 years ago6,246 downloads
1.0.5-24 years ago241 downloads
1.0.5-14 years ago20 downloads
1.0.4-15 years ago264 downloads
1.0.3-15 years ago33 downloads
1.0.2-15 years ago69 downloads
1.0.1-15 years ago52 downloads
1.0.0-15 years ago21 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30