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.4.2-11 year ago930 downloads
2.4.1-11 year ago381 downloads
2.4.0-11 year ago196 downloads
2.3.1-13 years ago2,977 downloads
2.3.0-13 years ago145 downloads
2.2.5-13 years ago102 downloads
2.2.4-13 years ago193 downloads
2.2.2-13 years ago161 downloads
2.2.1-14 years ago109 downloads
2.2.0-14 years ago43 downloads
2.1.0-14 years ago315 downloads
2.0.1-14 years ago241 downloads
1.1.3-16 years ago2,184 downloads
1.1.2-16 years ago57 downloads
1.1.1-17 years ago7,118 downloads
1.1.0-17 years ago188 downloads
1.0.6-18 years ago6,657 downloads
1.0.5-29 years ago294 downloads
1.0.5-19 years ago53 downloads
1.0.4-19 years ago367 downloads
1.0.3-19 years ago67 downloads
1.0.2-110 years ago181 downloads
1.0.1-110 years ago154 downloads
1.0.0-110 years ago65 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30