[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lua-periphery v1.0.1
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Fri, 30 May 2014 12:19:13 +0200
On Wed, May 28, 2014 at 8:22 PM, djczaski <djczaski@gmail.com> wrote:
> We use LuaJIT, particularly for the FFI, so we are stuck with 5.1. I suppose
> this will be an on going problem as the two projects diverge.
>
Mike Pall wrote a FFI-based GPIO module for the Raspberry Pi, which
takes 105 lines of code including comments, white space and a short
example.
http://lua-users.org/lists/lua-l/2012-04/msg01122.html
It could be used as a template for other IO peripherals.
—Pierre-Yves