Raspberry Pi GPIO interface code for Lua. Based on the Python code by Ben Croston and the Lua code by Andre Simon