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.4-144 days ago114 downloads
2.2.2-189 days ago121 downloads
2.2.1-1146 days ago75 downloads
2.2.0-1149 days ago11 downloads
2.1.0-1291 days ago281 downloads
2.0.1-11 year ago209 downloads
1.1.3-12 years ago2,014 downloads
1.1.2-12 years ago25 downloads
1.1.1-13 years ago2,555 downloads
1.1.0-14 years ago126 downloads
1.0.6-15 years ago6,479 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