Re: AW: Controlling hardware with lua (via USB interface)?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: AW: Controlling hardware with lua (via USB interface)?
- From: Ryan Phillips <lua-l@...>
- Date: 2004年4月23日 08:43:56 -0700
* Goetz.Kluge@infineon.com <Goetz.Kluge@infineon.com> [2004年04月23日 08:30]:
>
>
> Here 2 devices, which one could control via USB:
>
> http://www.beyondlogic.org/usb/pdiusbd11.pdf (USB / I2C)
> http://www.gigatechnology.com/files/Usbmod2.pdf (USB / parallel)
>
> Then the remaining question is how to access USB devices via LUA.
>
> Best regards
> Goetz
>
>
>
>
Export some glue functions to Lua and make an API that interfaces with
a driver.
I believe that in Windows you need a kernel mode driver and a usermode
API wrapper to access the driver. I think one of the best bets is to
use libusb mentioned from a previous post.
-Ryan