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-11 year ago1,077 downloads
2.3.0-11 year ago47 downloads
2.2.5-11 year ago76 downloads
2.2.4-11 year ago167 downloads
2.2.2-11 year ago135 downloads
2.2.1-11 year ago82 downloads
2.2.0-11 year ago17 downloads
2.1.0-12 years ago289 downloads
2.0.1-12 years ago215 downloads
1.1.3-14 years ago2,134 downloads
1.1.2-14 years ago31 downloads
1.1.1-15 years ago4,875 downloads
1.1.0-15 years ago132 downloads
1.0.6-16 years ago6,558 downloads
1.0.5-26 years ago253 downloads
1.0.5-16 years ago28 downloads
1.0.4-17 years ago284 downloads
1.0.3-17 years ago41 downloads
1.0.2-17 years ago93 downloads
1.0.1-17 years ago76 downloads
1.0.0-17 years ago32 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30