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-12 years ago2,134 downloads
2.3.0-12 years ago51 downloads
2.2.5-12 years ago80 downloads
2.2.4-12 years ago171 downloads
2.2.2-12 years ago139 downloads
2.2.1-12 years ago86 downloads
2.2.0-12 years ago21 downloads
2.1.0-13 years ago293 downloads
2.0.1-13 years ago219 downloads
1.1.3-14 years ago2,142 downloads
1.1.2-14 years ago35 downloads
1.1.1-15 years ago5,737 downloads
1.1.0-16 years ago140 downloads
1.0.6-17 years ago6,603 downloads
1.0.5-27 years ago259 downloads
1.0.5-17 years ago32 downloads
1.0.4-18 years ago294 downloads
1.0.3-18 years ago45 downloads
1.0.2-18 years ago105 downloads
1.0.1-18 years ago88 downloads
1.0.0-18 years ago38 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30