lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* 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