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.2.2-112 days ago32 downloads
2.2.1-169 days ago74 downloads
2.2.0-172 days ago11 downloads
2.1.0-1214 days ago281 downloads
2.0.1-1305 days ago208 downloads
1.1.3-12 years ago1,964 downloads
1.1.2-12 years ago25 downloads
1.1.1-13 years ago2,327 downloads
1.1.0-13 years ago126 downloads
1.0.6-15 years ago6,422 downloads
1.0.5-25 years ago243 downloads
1.0.5-15 years ago22 downloads
1.0.4-15 years ago266 downloads
1.0.3-15 years ago35 downloads
1.0.2-16 years ago71 downloads
1.0.1-16 years ago54 downloads
1.0.0-16 years ago23 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30