[Haskell-cafe] Re: USB and serial port

Maurí­cio briqueabraque at yahoo.com
Thu Aug 7 08:02:55 EDT 2008


Marc Weber a écrit :
> On Wed, Aug 06, 2008 at 06:11:50PM -0300, Maurí­cio wrote:
>>  Hi,
>>
>>  What are the alternatives to read
>>  a USB port (actually, a COM serial
>>  port with an USB adapter) in
>>  Haskell, running in Linux?
> 
> Just be aware that the USB-serial converter can be polled only every ms.
> So if you have really time critical applications you may see some
> porblems. I've spend days no knowing why I wasn't able to program a avr
> microcontroller till trying a real serial device (without USB) and it
> suddenly worked.. So if someting does'nt work maybe try a real serial
> interface first :)
> 
> Marc

I would, if my computer had one... :)



More information about the Haskell-Cafe mailing list