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,750 downloads
2.3.0-11 year ago49 downloads
2.2.5-12 years ago78 downloads
2.2.4-12 years ago169 downloads
2.2.2-12 years ago137 downloads
2.2.1-12 years ago84 downloads
2.2.0-12 years ago19 downloads
2.1.0-12 years ago291 downloads
2.0.1-13 years ago217 downloads
1.1.3-14 years ago2,138 downloads
1.1.2-14 years ago33 downloads
1.1.1-15 years ago5,523 downloads
1.1.0-16 years ago138 downloads
1.0.6-17 years ago6,582 downloads
1.0.5-27 years ago257 downloads
1.0.5-17 years ago30 downloads
1.0.4-17 years ago292 downloads
1.0.3-17 years ago43 downloads
1.0.2-18 years ago103 downloads
1.0.1-18 years ago86 downloads
1.0.0-18 years ago36 downloads


lua >= 5.1

Dependency for

ads1015, adxl345, bme280, ht16k33, sgp30