What device are you using that has exposed GPIOs? I've worked in the past with raspberry pis and Linux. On Apr 25, 2016 7:19 PM, "Daurnimator" <[email protected]> wrote:
> On 26 April 2016 at 10:14, Russell Haley <[email protected]> wrote: > > Wow, so this is pretty awesome stuff. I am looking at using lua to read > GPIO > > and there have been two basic solutions from my Lua expert friend: > > > > 1) Use select or a Lua binding thereof (luasys, luaev) > > 2) Use Luv! > > > > Do you think GPIO is applicable to Luv? > > Waiting for GPIOs is done on linux via polling the sysfs fd for POLLPRI. > IIRC, libuv *doesn't* support POLLPRI. > > You can still use libuv in combination with another polling library > that support POLLPRI though. > > -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
