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-1232 days ago652 downloads
2.4.1-1307 days ago374 downloads
2.4.0-1328 days ago190 downloads
2.3.1-13 years ago2,898 downloads
2.3.0-13 years ago124 downloads
2.2.5-13 years ago96 downloads
2.2.4-13 years ago187 downloads
2.2.2-13 years ago155 downloads
2.2.1-13 years ago103 downloads
2.2.0-13 years ago37 downloads
2.1.0-14 years ago309 downloads
2.0.1-14 years ago235 downloads
1.1.3-15 years ago2,171 downloads
1.1.2-15 years ago51 downloads
1.1.1-16 years ago6,474 downloads
1.1.0-17 years ago182 downloads
1.0.6-18 years ago6,639 downloads
1.0.5-28 years ago288 downloads
1.0.5-18 years ago47 downloads
1.0.4-19 years ago361 downloads
1.0.3-19 years ago61 downloads
1.0.2-19 years ago175 downloads
1.0.1-19 years ago154 downloads
1.0.0-19 years ago65 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30