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.3.1-1327 days ago698 downloads
2.3.0-1347 days ago45 downloads
2.2.5-11 year ago74 downloads
2.2.4-11 year ago165 downloads
2.2.2-11 year ago133 downloads
2.2.1-11 year ago80 downloads
2.2.0-11 year ago15 downloads
2.1.0-11 year ago287 downloads
2.0.1-12 years ago213 downloads
1.1.3-13 years ago2,095 downloads
1.1.2-13 years ago29 downloads
1.1.1-14 years ago4,176 downloads
1.1.0-15 years ago130 downloads
1.0.6-16 years ago6,530 downloads
1.0.5-26 years ago251 downloads
1.0.5-16 years ago26 downloads
1.0.4-16 years ago282 downloads
1.0.3-16 years ago39 downloads
1.0.2-17 years ago91 downloads
1.0.1-17 years ago74 downloads
1.0.0-17 years ago30 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30